Difference between revisions of "Role"
From King Arthur's Gold Wiki
(Created page with "Players have a 'role' associated with them. This role is used to differentiate between regular players, guards and administrators/KAG team members. There are a few extra roles ...") |
|||
Line 2: | Line 2: | ||
There are a few extra roles which aren't used very often, here are the major ones: | There are a few extra roles which aren't used very often, here are the major ones: | ||
− | '''0:''' Normal player account | + | '''0:''' Normal player account<br> |
− | '''2:''' Guard | + | '''2:''' Guard<br> |
− | '''4:''' KAG team member | + | '''4:''' KAG team member<br> |
− | '''5:''' Possibly a tester, this may not actually be used (need to verify) | + | '''5:''' Possibly a tester, this may not actually be used (need to verify)<br> |
Here is the enum used in the C++ APIClient::APIPlayer struct | Here is the enum used in the C++ APIClient::APIPlayer struct |
Revision as of 12:21, 12 April 2012
Players have a 'role' associated with them. This role is used to differentiate between regular players, guards and administrators/KAG team members.
There are a few extra roles which aren't used very often, here are the major ones:
0: Normal player account
2: Guard
4: KAG team member
5: Possibly a tester, this may not actually be used (need to verify)
Here is the enum used in the C++ APIClient::APIPlayer struct
enum{ role_user = 0, role_super = 1, role_police = 2, role_mod = 3, role_admin = 4, role_tester = 5 };