pokeemerald/include/mevent_server.h

37 lines
769 B
C
Raw Normal View History

2019-03-31 19:50:25 +00:00
#ifndef GUARD_MEVENT_SERVER_H
#define GUARD_MEVENT_SERVER_H
2019-04-02 15:43:29 +00:00
#include "mevent_server_helpers.h"
struct mevent_cmd
{
u32 instr;
bool32 flag;
void * parameter;
};
struct mevent_srv_common
{
u32 unk_00;
u32 param;
u32 mainseqno;
u32 cmdidx;
const struct mevent_cmd * cmdBuffer;
void * recvBuffer;
struct MEventBuffer_32E0_Sub * mevent_32e0;
struct MEventBuffer_3120_Sub * mevent_3120;
struct MEventStruct_Unk1442CC * mevent_unk1442cc;
void * sendBuffer1;
u32 sendBuffer1Size;
void * sendBuffer2;
u32 sendBuffer2Size;
u32 sendWord;
struct mevent_srv_sub manager;
};
2019-03-31 19:50:25 +00:00
void mevent_srv_new_wcard();
void mevent_srv_init_wnews();
2019-03-31 22:59:52 +00:00
u32 mevent_srv_common_do_exec(u16 * a0);
2019-03-31 19:50:25 +00:00
#endif //GUARD_MEVENT_SERVER_H