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); }
private void HookSetActionPhase(ActionBufferPhase value) { Networkm_actionPhase = value; // SynchronizeClientData(); }