Esempio n. 1
0
        private void Fun_8_14(INetData data)
        {
            DungeonGoldTreeAddGoldMsg_8_14 msg = new DungeonGoldTreeAddGoldMsg_8_14();

            msg.read(data.GetMemoryStream());
            Log.debug(this, "怪物死亡,服务器返回金币:" + msg.gold.ToString());
            Singleton <GoldHitMode> .Instance.UpdateGold(msg);
        }
Esempio n. 2
0
 public void UpdateGold(DungeonGoldTreeAddGoldMsg_8_14 gold)
 {
     goldNum.gold  = gold.gold;
     goldNum.monid = gold.monid;
     DataUpdate(UPDATE_GOLD_COUNT);
 }