This site has been archived and made available for preservation purposes. No edits can be made.
OnCellChange
(Difference between revisions)
Return to current revision
-
-
Gets called when an [[Object]] changed its [[Cell]].
== Declaration ==
<code cpp>
VAULTSCRIPT void OnCellChange(vaultmp::ID, vaultmp::Cell);
-
+
Gets called when an [wiki]Object[/wiki] changed its [wiki]Cell[/wiki].
[h="2"] Declaration [/h]
[highlight=cpp]
VAULTSCRIPT VAULTSPACE Void OnCellChange(VAULTSPACE ID, VAULTSPACE CELL) VAULTCPP(noexcept);
[/highlight]
[highlight=c]
-
forward OnCellChange(ID, cell);
-
-
</code>
== Parameters ==
'''[[ID|vaultmp::ID]]''' - the ID of the [[Object]]
'''[[Cell|vaultmp::Cell]]''' - the new cell of the [[Object]]
== Return value ==
None.
-
+
[/highlight]
[h="2"] Parameters [/h]
[b][wiki="ID"]ID[/wiki][/b] - the ID of the [wiki]Object[/wiki]
[b][wiki="CELL"]CELL[/wiki][/b] - the new cell of the [wiki]Object[/wiki]
[h="2"] Return value [/h]
None.
[h="2"] Related pages [/h]
[list][*][wiki]GetCell[/wiki]
[/LIST]
[category]VaultMP interface[/category]
[category]Scripting callbacks[/category]