ChatManager

Summary

Methods

Method Returns
SendMessage(message: string) bool
SendMessage(message: string, toTeam: TeamId) bool
SendMessage(message: string, toTeam: TeamId, toSquad: SquadId) bool

Methods

SendMessage

SendMessage(message: string): bool

Parameters

Name Type Description
message string

Returns

Type Description
bool

Example

ChatManager:SendMessage('Hello players!')

SendMessage

SendMessage(message: string, toTeam: TeamId): bool

Parameters

Name Type Description
message string
toTeam TeamId

Returns

Type Description
bool

Example

ChatManager:SendMessage('Hello Team 1 players!', TeamId.Team1)

SendMessage

SendMessage(message: string, toTeam: TeamId, toSquad: SquadId): bool

Parameters

Name Type Description
message string
toTeam TeamId
toSquad SquadId

Returns

Type Description
bool
Last modified April 27, 2020: Regenerate all API documentation (0b49d6be)