Example #1
0
 public void StartGame()
 {
     if (GameCore.Instance.IsMaster)
     {
         ProtoCSStartLevel proto = new ProtoCSStartLevel(GameCore.Instance.m_globalData.CurrLevel);
         NetworkMgr.Instance.Send(proto);
     }
 }
Example #2
0
        public void RestartBattle()
        {
            ProtoCSStartLevel proto = new ProtoCSStartLevel(GameCore.Instance.m_globalData.CurrLevel);

            NetworkMgr.Instance.Send(proto);
        }