/// <summary> /// Invite player to your party, if no party exists one will be created. /// </summary> public void PartyInvite(string inviteeName) { Player invitee = MapManager.FindPlayer(inviteeName); if (invitee == null) { throw new InvalidPlayerException(inviteeName); } if (Party == null) { Party = SocialManager.NewParty(this); } Party.Invite(this, invitee); }