Beispiel #1
0
    public void OnGameNotifyPlayerGameConfig(byte[] pBuf)
    {
        GameProto.GameNotifyPlayerGameConfig oRet = GameProto.GameNotifyPlayerGameConfig.Parser.ParseFrom(pBuf);
        if (oRet == null)
        {
            SampleDebuger.LogYellow("OnGameNotifyPlayerGameConfig error parse");
            return;
        }

        TetrisData.InitGameConfig(oRet);
    }
Beispiel #2
0
 public static void InitGameConfig(GameProto.GameNotifyPlayerGameConfig oConfig)
 {
     m_oConfig = oConfig;
 }