Skip to content
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

feat: add Group:SetMemberFlag() #102

Merged
merged 1 commit into from
Mar 1, 2023
Merged

Conversation

r-o-b-o-t-o
Copy link
Member

Adds Group:SetMemberFlag(target, apply, flag):

Sets or removes a flag for a [Group] member

enum GroupMemberFlags
{
    MEMBER_FLAG_ASSISTANT   = 0x01,
    MEMBER_FLAG_MAINTANK    = 0x02,
    MEMBER_FLAG_MAINASSIST  = 0x04,
};

Arguments:
ObjectGuid target : GUID of the target
bool apply : add the flag if true, remove the flag otherwise
[GroupMemberFlags] flag : the flag to set or unset

@r-o-b-o-t-o r-o-b-o-t-o mentioned this pull request Feb 28, 2023
2 tasks
@r-o-b-o-t-o r-o-b-o-t-o merged commit 2d915de into master Mar 1, 2023
@r-o-b-o-t-o r-o-b-o-t-o deleted the feat/group-set-member-flag branch March 1, 2023 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants