A class in Root.Township, the global namespace.
A server's join list, saved as JSON in the server's server_config file. The old join handler checks it when a player connects.
Constructors
Fields
2 private and internal fields
| Member | What it is |
|---|
private ServerListType listType | Backing field for ListType. |
private List<int> playersList | Backing field for PlayersList. |
Properties
| Member | What it is |
|---|
ServerListType ListType { get; set; } | Whether the list is unused, a block list or an allow list. Defaults to BlackList. |
List<int> PlayersList { get; set; } | Player user IDs on the list. |
Methods
| Member | What it is |
|---|
bool IsPlayerAllowed(int playerID) | Checks a player ID against the list: everyone with None, not on it for BlackList, on it for WhiteList. |
1 private and internal method
| Member | What it is |
|---|
private object System.ICloneable.Clone() | Returns a copy with its own copy of the player list. |
Used in
Members of other types that take, return or hold a ServerConfiguration: