/// <summary> /// /// </summary> public void CreateParty(CharacterEntity master, CharacterEntity member) { var party = new PartyInstance(m_nextPartyId++, master, member); m_partyById.Add(party.Id, party); WorldService.Instance.AddUpdatable(party); }
/// <summary> /// /// </summary> /// <param name="instance"></param> public void RemoveParty(PartyInstance instance) { m_partyById.Remove(instance.Id); WorldService.Instance.RemoveUpdatable(instance); }