mooball
    Preparing search index...

    Class SetPlayerEnergyEvent

    The event message structure that is created by the host to manually change the energy of an individual player.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    byId: number

    Id of the player who triggered this event.

    data: number[]

    New values. Order of values is supposed to be: [energy, kEnergyGain, kEnergyDrain]. null means no change for each value.

    eventType: OperationType

    Type of the event. Should not be modified.

    id: number

    Id of the player whose energy values will be modified.

    Methods