Exemplo n.º 1
0
    //public string AddNewPacket(List<AdventurerModel> party_list, bool automatic_start = false)
    //{


    //}

    public void RemovePacket(string packet_key)
    {
        GameObject      party_to_remove = RemovePartyFromDungeon(packet_key);
        PartyController p = party_to_remove.GetComponent <PartyController> ();

        //  RISK aherrera : is this gonna work? Like, since we're not really returning a reference
        //                      to packet_to_remove, will it unregister from the Packet correctly?
        p.UnRegisterToEvent(HandlePacketTimerUp);
    }