This site has been archived and made available for preservation purposes. No edits can be made.

OnCellChange

(Difference between revisions)
Return to current revision
Current Revision 04-28-2013, 01:58 AM
  1. -
    Gets called when an [[Object]] changed its [[Cell]].

    == Declaration ==
    <code cpp>
    VAULTSCRIPT void OnCellChange(vaultmp::ID, vaultmp::Cell);
  2. +
    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]
  3.  
    forward OnCellChange(ID, cell);
  4. -
    </code>
    == Parameters ==

    '''[[ID|vaultmp::ID]]''' - the ID of the [[Object]]

    '''[[Cell|vaultmp::Cell]]''' - the new cell of the [[Object]]

    == Return value ==

    None.
  5. +
    [/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]