Пример #1
0
    public void OnGameNotifyPlayerGameReadyTime(byte[] pBuf)
    {
        GameProto.GameNotifyPlayerGameReadyTime oRet = GameProto.GameNotifyPlayerGameReadyTime.Parser.ParseFrom(pBuf);
        if (oRet == null)
        {
            SampleDebuger.LogYellow("GameNotifyPlayerGameReadyTime error parse");
            return;
        }
        SampleDebuger.Log("game ready time left : " + oRet.DwLeftTime.ToString());

        ReadyTime.SetReadyTime(oRet.DwLeftTime);
    }