Пример #1
0
            /* --- Static Methods (Interface) --- */
            public static void OnBoosterList()
            {
                HSMPClient.Get().SendDebugMessage("OnBoosterList(" + ConnectAPI.GetBoosters().BoosterStacks.Count + ")");
                int count = 0;

                foreach (var bs in ConnectAPI.GetBoosters().BoosterStacks)
                {
                    HSMPClient.Get().SendDebugMessage(bs.Id + " : " + bs.Count);
                    count += bs.Count;
                }
                HSMPClient.Get().Send(new MsgCurrencyBalance(MsgCurrencyBalance.CurrencyType.PACKS, count));
            }