示例#1
0
        public static ActionBufferPhase GetCurrentActionPhase()
        {
            ActionBufferPhase actionBufferPhase = ActionBufferPhase.Done;

//            if (!NetworkServer.active)
//            {
//                if (ClientActionBuffer.Get() != null)
//                    actionBufferPhase = ClientActionBuffer.Get().CurrentActionPhase;
//                else if (GameManager.Get() != null && GameManager.Get().GameStatus == GameStatus.Started)
//                    Log.Print(LogType.Error,"Trying to examine current action phase, but ClientActionBuffer does not exist.");
//            }
            return(actionBufferPhase);
        }
示例#2
0
        private void HookSetActionPhase(ActionBufferPhase value)
        {
            Networkm_actionPhase = value;
//            SynchronizeClientData();
        }