C# Class Pluton.Rust.Events.ChatEvent

Inheritance: Core.Event
显示文件 Open project: Notulp/Pluton.Rust

Public Properties

Property Type Description
AllowFormatting bool
Arg ConsoleSystem.Arg
BroadcastName string
FinalText string
OriginalText string
Reply string
User Core.Player

Public Methods

Method Description
Cancel ( string reply = "Your message was not sent" ) : void
ChatEvent ( Core.Player player, ConsoleSystem args ) : Core
ReplyWith ( string msg ) : void

Method Details

Cancel() public method

public Cancel ( string reply = "Your message was not sent" ) : void
reply string
return void

ChatEvent() public method

public ChatEvent ( Core.Player player, ConsoleSystem args ) : Core
player Core.Player
args ConsoleSystem
return Core

ReplyWith() public method

public ReplyWith ( string msg ) : void
msg string
return void

Property Details

AllowFormatting public_oe property

public bool AllowFormatting
return bool

Arg public_oe property

public ConsoleSystem.Arg Arg
return ConsoleSystem.Arg

BroadcastName public_oe property

public string BroadcastName
return string

FinalText public_oe property

public string FinalText
return string

OriginalText public_oe property

public string OriginalText
return string

Reply public_oe property

public string Reply
return string

User public_oe property

public Player,Core User
return Core.Player