Because of Reception and Event Callback from Server, server doesn't need to call every hour.
If you want to set server to perform something at a specific time (refer to Timer callback from server ), you need to appoint user-defined data that needs to be passed on to timer callback function, callback cycle, and callback function. You can set those up as followed.
Module Name | Timer Callback Function | Callback Cycle | User-defined Data |
Proud.CNetServer | Proud.INetServerEvent.OnTimerCallback | Proud.CStartServerParameter.m_timerCallbackInterval | Proud.CStartServerParameter.m_timerCallbackContext |
Proud.CLanServer | Proud.ILanServerEvent.OnTimerCallback | Proud.CStartLanServerParameter.m_timerCallbackInterval | Proud.CStartLanServerParameter.m_timerCallbackContext |
Proud.CLanClient | Proud.ILanClientEvent.OnTimerCallback | Proud.CLanConnectionParam.m_timerCallbackInterval | Proud.CLanConnectionParam.m_timerCallbackContext |