feat(client): add ClientIdle

This commit is contained in:
fallenoak 2025-09-22 20:17:38 -07:00
parent ea7fda972e
commit aa70c1c5bf
No known key found for this signature in database
GPG Key ID: 7628F8E61AEA070D

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);