mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-05-07 04:34:48 +12:00
[FRD] GetFriendKeyList
This commit is contained in:
parent
16d150496d
commit
739a82a704
2 changed files with 29 additions and 2 deletions
include/services
|
@ -1,15 +1,25 @@
|
|||
#pragma once
|
||||
#include <cassert>
|
||||
#include "helpers.hpp"
|
||||
#include "kernel_types.hpp"
|
||||
#include "logger.hpp"
|
||||
#include "memory.hpp"
|
||||
|
||||
// It's important to keep this struct to 16 bytes as we use its sizeof in the service functions in frd.cpp
|
||||
struct FriendKey {
|
||||
u32 friendID;
|
||||
u32 dummy;
|
||||
u64 friendCode;
|
||||
};
|
||||
static_assert(sizeof(FriendKey) == 16);
|
||||
|
||||
class FRDService {
|
||||
Handle handle = KernelHandles::FRD;
|
||||
Memory& mem;
|
||||
MAKE_LOG_FUNCTION(log, frdLogger)
|
||||
|
||||
// Service commands
|
||||
void getFriendKeyList(u32 messagePointer);
|
||||
void getMyFriendKey(u32 messagePointer);
|
||||
void getMyPresence(u32 messagePointer);
|
||||
void setClientSDKVersion(u32 messagePointer);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue