Skip to main content

ChatRoomPublishAction

Callable

  • ChatRoomPublishAction(C: Character, Action: string, PrevItem: Item, NextItem: Item): boolean

  • Publishes common player actions (add, remove, swap) to the rest of the chatroom.

    Note that this will not update the server database, which requires either CharacterRefresh, ServerPlayerAppearanceSync or ChatRoomCharacterUpdate.


    Parameters

    • C: Character

      Character on which the action is done.

    • Action: string

      Action modifier

    • PrevItem: Item

      The item that has been removed.

    • NextItem: Item

      The item that has been added.

    Returns boolean

    • whether we published anything to the chat.