User Tools

Site Tools


enumerations

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
enumerations [2020/03/09 11:29] maximeenumerations [2020/07/07 17:17] maxime
Line 44: Line 44:
 level:rayCast({ 400, 300 }, 1000, raycastResult, flag) level:rayCast({ 400, 300 }, 1000, raycastResult, flag)
 </file> </file>
 +
 +===== Dynamic enumerations =====
 +
 +For enumerations tagged as dynamic, you can add new values with the function ''registerEnumValue''. Multiple mods can register the same new enum value, which is then shared.
 +
 +You can find more information on the ''registerEnumValue'' on the [[:mod-management-functions#registerEnumValue|mod management function page]].
enumerations.txt · Last modified: 2021/03/09 08:10 by minotorious

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki