Manager responsible for fetching and caching the server's ban list.
Signature:
declare class BanManager#Constructors
|
Constructor |
Modifiers |
Description |
|---|---|---|
|
Creates an instance of BanManager. |
#Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
Collection<number, Ban> |
Collection cache of banned players, keyed by their UserId. |
#Methods
|
Method |
Modifiers |
Description |
|---|---|---|
|
Fetches the server's ban list from the ER:LC API. Replaces the current cache. | ||
|
Re-synchronizes the cache with a raw ban list. |