GuildManager class
A class that handles the available guilds and using them
When making a custom guild type, make sure to register it or else some features might not work
Constructors
- GuildManager()
-
const
Properties
-
activeTypes
→ List<
GuildType> -
Returns all active guilds
no setteroverride
-
allTypes
→ List<
GuildType> -
Returns all the guild types
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
deleteType(
GuildType guildType) → void -
Removes
guildTypefrom the active guild types and from all guild types listoverride -
getType(
String type) → GuildType -
Returns the corresponding guild type from all guilds with type
typeoverride -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerType(
GuildType guildType) → void -
Adds
guildTypeto the list of all guild types and active guild typesoverride -
toString(
) → String -
A string representation of this object.
inherited
-
unregisterType(
GuildType guildType) → void -
Removes
guildTypeonly from the active guild typesoverride
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited