code/_macros.dm
debug_msg | A message define designed to be easily found and deleted |
---|---|
LAZYFIND | Returns the key of the submitted item in the list |
LAZYADDASSOC | Adds to the item K the value V, if the list is null it will initialize it |
LAZYADDASSOCLIST | This is used to add onto lazy assoc list when the value you're adding is a /list/. This one has extra safety over lazyaddassoc because the value could be null (and thus cant be used to += objects) |
LAZYREMOVEASSOC | Removes the value V from the item K, if the item K is empty will remove it from the list, if the list is empty will set the list to null |
LAZYACCESSASSOC | Accesses an associative list, returns null if nothing is found |
LAZYORASSOCLIST | Performs an insertion on the given lazy list with the given key and value. If the value already exists, a new one will not be made. |
Define Details
LAZYACCESSASSOC
Accesses an associative list, returns null if nothing is found
LAZYADDASSOC
Adds to the item K the value V, if the list is null it will initialize it
LAZYADDASSOCLIST
This is used to add onto lazy assoc list when the value you're adding is a /list/. This one has extra safety over lazyaddassoc because the value could be null (and thus cant be used to += objects)
LAZYFIND
Returns the key of the submitted item in the list
LAZYORASSOCLIST
Performs an insertion on the given lazy list with the given key and value. If the value already exists, a new one will not be made.
LAZYREMOVEASSOC
Removes the value V from the item K, if the item K is empty will remove it from the list, if the list is empty will set the list to null
debug_msg
A message define designed to be easily found and deleted