OpenMod Docs OpenMod Docs
OpenMod Docs OpenMod Docs
OpenMod .NET Plugin Framework.

Class UnturnedServerSendingMessageEvent

Inheritance
System.Object
UnturnedServerSendingMessageEvent
Namespace: OpenMod.Unturned.Players.Chat.Events
Assembly: OpenMod.Unturned.dll
Syntax
public class UnturnedServerSendingMessageEvent : Core.Eventing.Event

Constructors

| Improve this Doc View Source

UnturnedServerSendingMessageEvent(UnturnedPlayer, UnturnedPlayer, String, Color, EChatMode, String, Boolean)

Declaration
public UnturnedServerSendingMessageEvent(UnturnedPlayer fromPlayer, UnturnedPlayer toPlayer, string text, Color color, EChatMode mode, string iconUrl, bool isRich)
Parameters
Type Name Description
UnturnedPlayer fromPlayer
UnturnedPlayer toPlayer
System.String text
Color color
EChatMode mode
System.String iconUrl
System.Boolean isRich

Properties

| Improve this Doc View Source

Color

Declaration
public Color Color { get; set; }
Property Value
Type Description
Color
| Improve this Doc View Source

FromPlayer

Declaration
public UnturnedPlayer FromPlayer { get; }
Property Value
Type Description
UnturnedPlayer
| Improve this Doc View Source

IconUrl

Declaration
public string IconUrl { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

IsRich

Declaration
public bool IsRich { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Mode

Declaration
public EChatMode Mode { get; }
Property Value
Type Description
EChatMode
| Improve this Doc View Source

Text

Declaration
public string Text { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

ToPlayer

Declaration
public UnturnedPlayer ToPlayer { get; }
Property Value
Type Description
UnturnedPlayer

Extension Methods

DisposeHelper.DisposeSyncOrAsync(Object)