void OnXiaZhu(string str, System.Object obj) { EventMgr.NetMsg msg = (EventMgr.NetMsg)obj; XiaZhu info = (XiaZhu)msg.para; mainUI.SetXiafenItem(info.m_iMaxZhu); if ((int)myInfo.bDeskStation == info.station) { betTotalMoney -= info.money; mainUI.InitMoneyDisable(betTotalMoney); myBets [info.type] += info.money; mainUI.ShowMeDesktopMoney(myBets); isMyBet = true; //自己下注标识 } if (info.moneytype > 3 && info.moneytype < 6) { PlayGameSound(2, "bet_1k_5k"); } else if (info.moneytype == 6) { PlayGameSound(2, "bet_1w"); } else { PlayGameSound(2, "bet"); } mainUI.ShowDesktopMoney(info.m_iQuYuZhu); mainUI.ShowDesktopClip(info.type, info.moneytype, info.getXSeed(), info.getYSeed()); }