Exemplo n.º 1
0
    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;
    }
Exemplo n.º 2
0
 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;
 }
Exemplo n.º 3
0
    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);
    }
Exemplo n.º 4
0
    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);
    }
Exemplo n.º 5
0
    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);
    }
Exemplo n.º 6
0
    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());
    }