public void OnSummon()
 {
     if (m_SoulStone.Count < m_SoulStoneInfo.LootCount)
     {
         Tooltip.Instance.ShowMessageKey("SoulStoneNotEnoughPiece");
         return;
     }
     C2G.CreatureSummon packet = new C2G.CreatureSummon();
     packet.item_id = m_SoulStone.Info.ID;
     Network.GameServer.JsonAsync <C2G.CreatureSummon, C2G.CreatureSummonAck>(packet, OnSummonCreature);
 }
    void OnSummonCreature(C2G.CreatureSummon packet, C2G.CreatureSummonAck ack)
    {
        EquipManager.Instance.Add(ack.creature_loot_data.equip[0]);
        EquipManager.Instance.Add(ack.creature_loot_data.equip[1]);
        CreatureManager.Instance.Add(ack.creature_loot_data.creature);
        m_SoulStone.UseItem(ack.use_count);
        GameMain.Instance.UpdatePlayerInfo();

        parent.Close(true, true);

        Popup.Instance.Show(ePopupMode.LootCharacter, ack.creature_loot_data.creature.creature_idx, true, true);
    }