Ejemplo n.º 1
0
    public string AddNewParty(GameObject party, bool automatic_start = false)
    {
        PartyController pc = party.GetComponent <PartyController> ();
        PartyModel      pm = party.GetComponent <PartyModel> ();

        DebugLogger.DebugSystemMessage("Inserting " + pm._AdventureTitle + " Party to Dungeon");

        pc.RegisterToEvent(HandlePacketTimerUp);
        string newPacketKey = AddPartyToDungeon(party);

        return(newPacketKey);
    }