Module dscord.types.base
Functions
Name | Description |
---|---|
loadMany
|
Utility method that loads many of a model T off of a fast JSON object. Calls the delegate f for each member loaded, returning nothing. |
loadManyArray
|
Utility method which loads many of a model T off of a fast JSON object. Returns an array of model T objects. |
loadManyComplex
|
Utility method that loads many of a model T off of a fast JSON object, passing
in a sub -type TSub as the first argument to the constructor. Calls the delegate
f for each member loaded, returning nothing.
|
readSnowflake
|
Utility method which reads a Snowflake off of a fast JSON object.
|
toString
|
Classes
Name | Description |
---|---|
AsyncChainer
|
|
IModel
|
Base class for all models. Provides a simple interface definition and some utility constructor code. |
ModelMap
|
A utility wrapper around an associative array that stores models. |
Templates
Name | Description |
---|---|
Model
|
Base template for all models. Provides utility methods for AsyncChaining and
a base constructor that calls the parent IModel constructor.
|
Aliases
Name | Type | Description |
---|---|---|
Snowflake
|
ulong
|