コード例 #1
0
 private static void AutoSave(IGameClient client)
 {
     if ((DateTime.UtcNow - client.LastSave).TotalSeconds > ServerContext.Config.SaveRate)
     {
         client.Save();
     }
 }