public interface ISecurityProvider
Modifier and Type | Method and Description |
---|---|
int |
getOwner() |
long |
getSecurityKey()
used to represent the security key for the network, should be based on a unique timestamp.
|
boolean |
isSecurityEnabled() |
void |
readPermissions(java.util.HashMap<java.lang.Integer,java.util.EnumSet<SecurityPermissions>> playerPerms)
Push permission data into security cache.
|
long getSecurityKey()
void readPermissions(java.util.HashMap<java.lang.Integer,java.util.EnumSet<SecurityPermissions>> playerPerms)
playerPerms
- player permissionsboolean isSecurityEnabled()
int getOwner()