feat(client): add ClientIdle

This commit is contained in:
fallenoak committed 2025-09-22 20:17:38 -07:00
1 parent ea7fda972e
commit aa70c1c5bf
1 file changed
+12
+12
View File
@@ -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);