Skip to main content
Version: 0.1.0

Enum RelayMode

Namespace: ReadyM.Api.Multiplayer.Protocol.Enums
Assembly: ReadyM.Api.Multiplayer.dll

Indicates how an RPC message should be relayed to other players in the game.

public enum RelayMode : byte

Fields​

AreaOfInterestOthers = 0

Sends the message to all players in the area of interest of the sender, other than the sender.

AreaOfInterestAll = 1

Sends the message to all players in the area of interest of the sender, including the sender.

GlobalOthers = 2

Sends the message to all players in the game, other than the sender.

GlobalAll = 3

Sends the message to all players in the game, including the sender.

EntityOwner = 4

Sends the message to the owner of an entity, possibly back to the sender.

Not part of stable API.

Peers = 5

Sends the message to a specific list of players.