ServerPlayerEvent

Inherits from EntityEvent

Summary

Constructors

ServerPlayerEvent(eventId: int, player: Player, sendToPlayerOnly: bool, sendToHostOnly: bool, sendToTeamOnly: bool, invertPlayerFilter: bool, invertTeamFilter: bool, forwardToSpectators: bool, team: TeamId)
ServerPlayerEvent(eventName: string, player: Player, sendToPlayerOnly: bool, sendToHostOnly: bool, sendToTeamOnly: bool, invertPlayerFilter: bool, invertTeamFilter: bool, forwardToSpectators: bool, team: TeamId)

Properties

Name Type
player Player
sendToPlayerOnly bool
sendToHostOnly bool
sendToTeamOnly bool
invertPlayerFilter bool
invertTeamFilter bool
forwardToSpectators bool
team TeamId

Constructors

ServerPlayerEvent

ServerPlayerEvent(eventId: int, player: Player, sendToPlayerOnly: bool, sendToHostOnly: bool, sendToTeamOnly: bool, invertPlayerFilter: bool, invertTeamFilter: bool, forwardToSpectators: bool, team: TeamId)

Parameters

Name Type Description
eventId int
player Player
sendToPlayerOnly bool
sendToHostOnly bool
sendToTeamOnly bool
invertPlayerFilter bool
invertTeamFilter bool
forwardToSpectators bool
team TeamId

ServerPlayerEvent

ServerPlayerEvent(eventName: string, player: Player, sendToPlayerOnly: bool, sendToHostOnly: bool, sendToTeamOnly: bool, invertPlayerFilter: bool, invertTeamFilter: bool, forwardToSpectators: bool, team: TeamId)

Parameters

Name Type Description
eventName string
player Player
sendToPlayerOnly bool
sendToHostOnly bool
sendToTeamOnly bool
invertPlayerFilter bool
invertTeamFilter bool
forwardToSpectators bool
team TeamId

Properties

player

Player

sendToPlayerOnly

bool

sendToHostOnly

bool

sendToTeamOnly

bool

invertPlayerFilter

bool

invertTeamFilter

bool

forwardToSpectators

bool

team

TeamId

Last modified March 25, 2021: fix ServerPlayerEvent (4e85b579)