Difference between revisions of "Role"

From King Arthur's Gold Wiki
Jump to: navigation, search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
Players have a 'role' associated with them.  This role is used to differentiate between regular players, guards and administrators/KAG team members.
 
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:
+
There are a few extra roles which aren't used very often, here are the major ones:<br>
 
'''0:''' Normal player account<br>
 
'''0:''' Normal player account<br>
'''1:''' KAG dev/team member  
+
'''1:''' KAG dev/team member <br>
 
'''2:''' KAG Guard<br>
 
'''2:''' KAG Guard<br>
'''3:''' Unsure, only test accounts seem to have this.  Probably should be treated as KAG staff (subject to change)
+
'''3:''' Unsure, only test accounts seem to have this.  Probably should be treated as KAG staff (subject to change)<br>
 
'''4:''' KAG team member ("admin" level, more or less the same as type 1)<br>
 
'''4:''' KAG team member ("admin" level, more or less the same as type 1)<br>
'''5:''' Possibly a tester, but most testers are not currently flagged<br>
+
'''5:''' KAG tester <br>
  
Role types 1 and 3 are not currently used
+
As described above, roles 3 and 5 are not really used but may be used in the future.  If that happens, this page will be updated appropriately.
  
 
Here is the enum used in the C++ APIClient::APIPlayer struct
 
Here is the enum used in the C++ APIClient::APIPlayer struct

Latest revision as of 18:58, 29 August 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
1: KAG dev/team member
2: KAG Guard
3: Unsure, only test accounts seem to have this. Probably should be treated as KAG staff (subject to change)
4: KAG team member ("admin" level, more or less the same as type 1)
5: KAG tester

As described above, roles 3 and 5 are not really used but may be used in the future. If that happens, this page will be updated appropriately.

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
	};