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 21:50:25 +02:00
2019-04-02 17:43:29 +02:00
#include "mevent_server_helpers.h"
2019-04-02 20:02:13 +02:00
struct mevent_client_cmd
2019-04-02 17:43:29 +02:00
{
u32 instr;
u32 parameter;
};
2019-04-02 20:02:13 +02:00
struct mevent_client
2019-04-02 17:43:29 +02:00
{
u32 unk_00;
u32 param;
u32 mainseqno;
u32 flag;
u32 cmdidx;
void * sendBuffer;
void * recvBuffer;
2019-04-02 20:02:13 +02:00
struct mevent_client_cmd * cmdBuffer;
2019-04-02 17:43:29 +02:00
void * buffer;
struct mevent_srv_sub manager;
u32 unk_4C;
};
2019-04-02 20:02:13 +02: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 21:50:25 +02:00
#endif //GUARD_MEVENT_CLIENT_H