Beispiel #1
0
            public static void OnBoosterContent()
            {
                var cards = ConnectAPI.GetOpenedBooster();

                var msg = new MsgOpenedPack();

                msg.Cards = new System.Collections.Generic.List <NetCache.BoosterCard>();
                foreach (var c in cards)
                {
                    msg.Cards.Add(c);
                }

                HSMPClient.Get().Send(msg);
            }