public void MsgBox(String text)
{
NetMsg.MsgNotice notice = new NetMsg.MsgNotice();
notice.Create(null, GetGamePackKeyEx());
byte[] buff = notice.GetMsgBoxBuff(text);
this.SendData(buff);
}
//提取元宝 public void GetMoney(PlayerObject play) { String sAccount = play.GetBaseAttr().sAccount; if (!mDicPayRecInfo.ContainsKey(sAccount)) { play.MsgBox("没有可提取的魔石!"); return; } int gamegold = mDicPayRecInfo[sAccount].money; play.ChangeMoney(GameStruct.MONEYTYPE.GAMEGOLD, gamegold); play.MsgBox("提取魔石[" + gamegold.ToString() + "]点!"); SetPayTag(sAccount); mDicPayRecInfo.Remove(sAccount); }