mirror of
https://github.com/mangosfour/server.git
synced 2026-01-02 01:37:05 +00:00
[c12605] Add const Group member iteration
This commit is contained in:
parent
a7c5b48160
commit
12ee7b95ea
4 changed files with 4 additions and 1 deletions
|
|
@ -35,6 +35,7 @@ class MANGOS_DLL_SPEC GroupReference : public Reference<Group, Player>
|
|||
GroupReference() : Reference<Group, Player>(), iSubGroup(0) {}
|
||||
~GroupReference() { unlink(); }
|
||||
GroupReference* next() { return (GroupReference*)Reference<Group, Player>::next(); }
|
||||
GroupReference const* next() const { return (GroupReference const*)Reference<Group, Player>::next(); }
|
||||
uint8 getSubGroup() const { return iSubGroup; }
|
||||
void setSubGroup(uint8 pSubGroup) { iSubGroup = pSubGroup; }
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue