Exemple #1
0
        public void SendBoxDisappear(List <int> BoxID, BaseSceneGame game)
        {
            GSPacketIn pkgMsg = new GSPacketIn((byte)ePackageType.GAME_CMD);

            pkgMsg.WriteByte((byte)TankCmdType.DISAPPEAR);
            pkgMsg.WriteInt(BoxID.Count);
            foreach (int id in BoxID)
            {
                pkgMsg.WriteInt(id);
            }

            game.SendToAll(pkgMsg);
        }
        public override void SendPairUpFailed(BaseSceneGame game)
        {
            GSPacketIn pkgMsg = new GSPacketIn((byte)ePackageType.GAME_PAIRUP_FAILED);

            game.SendToAll(pkgMsg);
        }
        public override void SendPairUpWait(BaseSceneGame game)
        {
            GSPacketIn pkgMsg = new GSPacketIn((byte)ePackageType.GAME_PAIRUP_WAIT);

            game.SendToAll(pkgMsg);
        }
 public void SendBoxDisappear(List<int> BoxID, BaseSceneGame game)
 {
     GSPacketIn pkgMsg = new GSPacketIn((byte)ePackageType.GAME_CMD);
     pkgMsg.WriteByte((byte)TankCmdType.DISAPPEAR);
     pkgMsg.WriteInt(BoxID.Count);
     foreach(int id in BoxID)
     {
         pkgMsg.WriteInt(id);
     }
     
     game.SendToAll(pkgMsg);
 }
Exemple #5
0
        public override void SendPairUpFailed(BaseSceneGame game)
        {
            GSPacketIn pkgMsg = new GSPacketIn((byte)ePackageType.GAME_PAIRUP_FAILED);

            game.SendToAll(pkgMsg);
        }
Exemple #6
0
        public override void SendPairUpWait(BaseSceneGame game)
        {
            GSPacketIn pkgMsg = new GSPacketIn((byte)ePackageType.GAME_PAIRUP_WAIT);

            game.SendToAll(pkgMsg);
        }