mooball
    Preparing search index...

    Enumeration OperationType

    Index

    Enumeration Members

    AutoTeams: 15

    The operation to automatically move one player from the spectators team to the red team, and one player to the blue team. This requires the sender to be an admin in the current room.

    BinaryCustomEvent: 25

    The operation to trigger a binary custom event.

    CheckConsistency: 2

    The operation to check whether the client is in sync with the host. This requires the sender to be a client of the current room.

    Controls: 36

    The operations to (introduce new/remove existing) game input controls where each new input control is assigned the next bit of player.input value.

    CustomEvent: 24

    The operation to trigger a custom event.

    JoinRoom: 5

    The operation to add a player to the current room. This requires the sender to be the host of the current room.

    KickBanPlayer: 6

    The operation to leave the room, or kick/ban a player. (This is decided by the reason property being null.) The kick/ban operation requires the sender to be an admin in the current room.

    PauseResumeGame: 9

    The operation to pause or resume the game. This requires the sender to be an admin in the current room. Also, the game must be active.

    Ping: 17

    The operation to inform players of the ping values of each player. This requires the sender to be the host of the current room.

    PlayCustomSound: 38

    The operation to play a custom sound.

    ReorderPlayers: 20

    The operation to change the ordering of the players in the room. This requires the sender to be the host of the current room.

    SendAnnouncement: 0

    The operation to send announcement text. This requires the sender to be the host of the current room.

    SendAnnouncement2: 40

    The operation to send announcement using the improved announcement api.

    SendChat: 4

    The operation to send chat text.

    SendChatIndicator: 1

    The operation to set a player's chat indicator status.

    SendDirection: 35

    The operation to set the player's current direction. room.state.directionActive must be true for this to work.

    SendInput: 3

    The operation to set your own input. (key state)

    SetAvatar: 18

    The operation to set your own avatar.

    SetDiscProperties: 23

    The operation to set a disc's properties. This requires the sender to be the host of the current room.

    SetGamePlayLimit: 10

    The operation to set the score/time limit of the room. This requires the sender to be an admin in the current room. Also, the game must not be active.

    SetGamePlayValue: 28

    The operation to manually set some values inside the game state.

    SetHeadlessAvatar: 22

    The operation to set a player's headless avatar. This requires the sender to be the host of the current room.

    SetKickRateLimit: 21

    The operation to set the room's current stadium. This requires the sender to be an admin in the current room.

    SetPlayerAdmin: 14

    The operation to grant/take away a player's admin rights. This requires the sender to be an admin in the current room.

    SetPlayerCssVar: 41

    The operation to set the cssVar attribute of a player to change its appearance in the room gui.

    SetPlayerDirection: 34

    The operation to manually change the direction of an individual player. room.state.directionActive must be true for this to work.

    SetPlayerEnergy: 33

    The operation to manually change the energy of an individual player.

    SetPlayerIdentity: 26

    The operation to set a player's backend identity.

    SetPlayerSkin: 39

    The operation to update the current skin(textureId) of a player.

    SetPlayerSync: 16

    The operation to set your own synchronization status.

    SetPlayerTeam: 12

    The operation to move a player to a team. This requires the sender to be an admin in the current room. If teams are not locked and the game is not active, the non-admin players are also allowed to use this event only to change their own teams.

    SetRoomName: 29

    The operation to change the name of the room.

    SetRunDefaultGameLogic: 27

    The operation to set whether to use default game logic or not.

    SetStadium: 11

    The operation to set the room's current stadium. This requires the sender to be an admin in the current room. Also, the game must not be active.

    SetTeamColors: 19

    The operation to set a team's colors. This requires the sender to be an admin in the current room.

    SetTeamsLock: 13

    The operation to lock/unlock the room's teams. This requires the sender to be an admin in the current room.

    StadiumAddObject: 30

    The operation to add a new stadium object.

    StadiumRemoveObject: 32

    The operation to remove an existing stadium object.

    StadiumUpdateObject: 31

    The operation to update an existing stadium object.

    StartGame: 7

    The operation to start the game. This requires the sender to be an admin in the current room. Also, the game must not be active.

    StopGame: 8

    The operation to stop the game. This requires the sender to be an admin in the current room. Also, the game must be active.

    UpdateCssVar: 37

    The operation to update the current contents of a css variable.