modular_bandastation/_singletons/code/_defines.dm
GET_SINGLETON | Get a singleton instance according to path P. Creates it if necessary. Null if abstract or not a singleton. |
---|---|
GET_SINGLETON_TYPE_MAP | Get a (path = instance) map of valid singletons according to typesof(P). |
GET_SINGLETON_SUBTYPE_MAP | Get a (path = instance) map of valid singletons according to subtypesof(P). |
GET_SINGLETON_TYPE_LIST | Get a list of valid singletons according to typesof(path). |
GET_SINGLETON_SUBTYPE_LIST | Get a list of valid singletons according to subtypesof(path). |
Define Details
GET_SINGLETON
Get a singleton instance according to path P. Creates it if necessary. Null if abstract or not a singleton.
GET_SINGLETON_SUBTYPE_LIST
Get a list of valid singletons according to subtypesof(path).
GET_SINGLETON_SUBTYPE_MAP
Get a (path = instance) map of valid singletons according to subtypesof(P).
GET_SINGLETON_TYPE_LIST
Get a list of valid singletons according to typesof(path).
GET_SINGLETON_TYPE_MAP
Get a (path = instance) map of valid singletons according to typesof(P).