コード例 #1
0
 public static void UpdateServer()    //Called by the server's version of the network manager object
 {
     if (hl.peers != null)
     {
         for (int i = 0; i < hl.peers.Count; i++)
         {
             Resources.UpdateResources(hl.peers[i]);
         }
     }
     ObjFuncs.UpdateObjsOnServer();
 }
コード例 #2
0
ファイル: ServerSideLoop.cs プロジェクト: thegamedesigner/cff
 public static void HandleSvGameplayLogic()
 {
     ObjFuncs.UpdateObjsOnServer();
 }