Exemplo n.º 1
0
            /* --- Static Methods (Interface) --- */
            public static void OnGoldBalance()
            {
                var  pkt     = ConnectAPI.GetGoldBalance();
                long balance = pkt.GetTotal();

                HSMPClient.Get().SendDebugMessage("OnGoldBalance: " + balance);
                HSMPClient.Get().Send(new MsgCurrencyBalance(MsgCurrencyBalance.CurrencyType.GOLD, balance));
            }