Anonymous

Mod Creation/Mod Context API Reference: Difference between revisions

From Melvor Idle
Line 866: Line 866:
<code>getter: () => any</code> The getter function to be executed.
<code>getter: () => any</code> The getter function to be executed.


<code>setter: (o: undefined, value: any) => any</code> The getter function to be executed, with the <code>value</code> argument containing the value being set.
<code>setter: (value: any) => any</code> The getter function to be executed, with the <code>value</code> argument containing the value being set.


'''Example'''
'''Example'''
91

edits