mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 16:22:45 +03:00
feat(client): add ClientIdle
This commit is contained in:
parent
ea7fda972e
commit
aa70c1c5bf
@ -31,9 +31,21 @@ void BaseInitializeGlobal() {
|
|||||||
PropInitialize();
|
PropInitialize();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int32_t ClientIdle(const void* data, void* param) {
|
||||||
|
// TODO
|
||||||
|
// ClientGameTimeTickHandler(data, param);
|
||||||
|
// Player_C_ZoneUpdateHandler(data, param);
|
||||||
|
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
void ClientInitializeGame(uint32_t mapId, C3Vector position) {
|
void ClientInitializeGame(uint32_t mapId, C3Vector position) {
|
||||||
// TODO
|
// TODO
|
||||||
|
|
||||||
|
EventRegister(EVENT_ID_IDLE, ClientIdle);
|
||||||
|
|
||||||
|
// TODO
|
||||||
|
|
||||||
ClientServices::SetMessageHandler(SMSG_NOTIFICATION, NotifyHandler, nullptr);
|
ClientServices::SetMessageHandler(SMSG_NOTIFICATION, NotifyHandler, nullptr);
|
||||||
ClientServices::SetMessageHandler(SMSG_PLAYED_TIME, PlayedTimeHandler, nullptr);
|
ClientServices::SetMessageHandler(SMSG_PLAYED_TIME, PlayedTimeHandler, nullptr);
|
||||||
ClientServices::SetMessageHandler(SMSG_NEW_WORLD, NewWorldHandler, nullptr);
|
ClientServices::SetMessageHandler(SMSG_NEW_WORLD, NewWorldHandler, nullptr);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user