public void OnFileSharingError() { Debug.Log(LibDebug.AddColor("Warning! Log File Use Conflict - Disabling Log File Usage", LibDebug.Col.RED)); //Turn off logging since there was an issue with this instance of the game recording log information bLoggingInfo = false; }
public void SetManualFastForward(bool _bManualFastForward) { if (bManualFastForward != _bManualFastForward) { Debug.Log(LibDebug.AddColor(string.Format("Changing Auto Fast Forwarding to {0}", _bManualFastForward), LibDebug.Col.MAGENTA)); } bManualFastForward = _bManualFastForward; }
public override void EndSelection() { base.EndSelection(); Debug.Log(LibDebug.AddColor("Finished Input Selection for " + ContTurns.Get().chrNextReady, LibDebug.Col.RED)); ContTurns.Get().chrNextReady.subEndsActiveForHumans.NotifyObs(); subAllHumanEndSelection.NotifyObs(plyrOwner); }
public override void StartSelection() { base.StartSelection(); Debug.Log(LibDebug.AddColor("Starting Input Selection for " + ContTurns.Get().chrNextReady, LibDebug.Col.RED)); ContTurns.Get().chrNextReady.subBecomesActiveForHumans.NotifyObs(); subAllHumanStartSelection.NotifyObs(plyrOwner); }
public void SendInput(int indexInput, int[] arSerializedMatchInput) { Debug.LogFormat(LibDebug.AddColor("Sending serialized selection: {0}", LibDebug.Col.BLUE), LibConversions.ArToStr(arSerializedMatchInput)); photonview.RPC("ReceiveMatchInput", RpcTarget.AllBufferedViaServer, indexInput, arSerializedMatchInput); }
public void SendInput(int indexInput, MatchInput matchinputToSend) { Debug.LogFormat(LibDebug.AddColor("Sending selection: {0}", LibDebug.Col.BLUE), matchinputToSend); photonview.RPC("ReceiveMatchInput", RpcTarget.AllBufferedViaServer, indexInput, matchinputToSend.Serialize()); }