diff --git a/src/client/Client.cpp b/src/client/Client.cpp index 2f45ffa..4fdfb33 100644 --- a/src/client/Client.cpp +++ b/src/client/Client.cpp @@ -31,9 +31,21 @@ void BaseInitializeGlobal() { 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) { // TODO + EventRegister(EVENT_ID_IDLE, ClientIdle); + + // TODO + ClientServices::SetMessageHandler(SMSG_NOTIFICATION, NotifyHandler, nullptr); ClientServices::SetMessageHandler(SMSG_PLAYED_TIME, PlayedTimeHandler, nullptr); ClientServices::SetMessageHandler(SMSG_NEW_WORLD, NewWorldHandler, nullptr);