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); }
public static void InitGameConfig(GameProto.GameNotifyPlayerGameConfig oConfig) { m_oConfig = oConfig; }