pokeemerald/include/mevent_client.h

34 lines
645 B
C
Raw Normal View History

#ifndef GUARD_MEVENT_CLIENT_H
#define GUARD_MEVENT_CLIENT_H
2019-03-31 19:50:25 +00:00
2019-04-02 15:43:29 +00:00
#include "mevent_server_helpers.h"
2019-04-02 18:02:13 +00:00
struct mevent_client_cmd
2019-04-02 15:43:29 +00:00
{
u32 instr;
u32 parameter;
};
2019-04-02 18:02:13 +00:00
struct mevent_client
2019-04-02 15:43:29 +00:00
{
u32 unk_00;
u32 param;
u32 mainseqno;
u32 flag;
u32 cmdidx;
void * sendBuffer;
void * recvBuffer;
2019-04-02 18:02:13 +00:00
struct mevent_client_cmd * cmdBuffer;
2019-04-02 15:43:29 +00:00
void * buffer;
struct mevent_srv_sub manager;
u32 unk_4C;
};
2019-04-02 18:02:13 +00:00
void mevent_client_do_init(u32 arg);
u32 mevent_client_do_exec(u16 * a0);
void mevent_client_inc_flag(void);
void * mevent_client_get_buffer(void);
void mevent_client_set_param(u32 a0);
2019-03-31 19:50:25 +00:00
#endif //GUARD_MEVENT_CLIENT_H