-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added NWNX_Player_SendPartyInvite #1608
Conversation
else if ((pInvitedCreature->GetFaction() && (!pInvitedCreature->GetFaction()->GetSingletonParty()))) | ||
{ | ||
auto pMessageData = new CNWCCMessageData; | ||
pMessageData->SetObjectID(0, pInvitedCreature->m_idSelf); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I hate this duplication, but only slightly. Merging.
/// @brief Send a party invite from oInviter to oPlayer | ||
/// @param oPlayer The player to invite | ||
/// @param oInviter The one inviting the player | ||
/// @param bForceInvite TRUE: Sends the invite even if the target ignores invites |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if worth noting, but there is also a clientside setting to ignore invites in general, and bForceInvite won't help with that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bSlightlyForceInvite
void NWNX_Player_SendPartyInvite(object oToPlayer, object oInviter = OBJECT_SELF, int bForceInvite = FALSE, int bHideDialog = FALSE);
closing #1509