C# Class EssentialsPlugin.Utility.Communication

Afficher le fichier Open project: rexxar-tc/EssentialsPlugin

Méthodes publiques

Méthode Description
BroadcastDataMessage ( DataMessageType messageType, byte data ) : void
BroadcastMessageParts ( byte data ) : void
Desegment ( byte packet ) : byte[]

Reassembles a segmented byte array.

DisableGMenu ( ulong steamId, string blockDef, bool subType, bool enable ) : void
DisplayDialog ( ulong steamId, ServerDialogItem messageItem ) : void
DisplayDialog ( ulong steamId, string header, string subheader, string content, string buttonText = "OK" ) : void
HandleAddConcealExempt ( byte data ) : void
MoveMessage ( ulong steamId, string moveType, Vector3D position ) : void
MoveMessage ( ulong steamId, string moveType, double x, double y, double z, long entityId ) : void
Notification ( ulong steamId, MyFontEnum color, int timeInSeconds, string message ) : void
ReceiveMessageParts ( byte data ) : void
Segment ( byte message ) : List

Segments a byte array.

SendDataMessage ( ulong steamId, DataMessageType messageType, byte data ) : void
SendFactionClientMessage ( ulong playerSteamId, string message ) : void
SendMessagePartsTo ( ulong steamId, byte data ) : void
SendPrivateInformation ( ulong playerId, string infoText, string from = null ) : void
SendPublicInformation ( string infoText ) : void
SendVoxelReset ( long entityId ) : void
WaypointMessage ( ServerWaypointItem serverItem ) : void
WaypointMessage ( WaypointItem item ) : void
WaypointMessage ( ulong userId, string waypointString ) : void

Method Details

BroadcastDataMessage() public static méthode

public static BroadcastDataMessage ( DataMessageType messageType, byte data ) : void
messageType DataMessageType
data byte
Résultat void

BroadcastMessageParts() public static méthode

public static BroadcastMessageParts ( byte data ) : void
data byte
Résultat void

Desegment() public static méthode

Reassembles a segmented byte array.
public static Desegment ( byte packet ) : byte[]
packet byte Array segment.
Résultat byte[]

DisableGMenu() public static méthode

public static DisableGMenu ( ulong steamId, string blockDef, bool subType, bool enable ) : void
steamId ulong
blockDef string
subType bool
enable bool
Résultat void

DisplayDialog() public static méthode

public static DisplayDialog ( ulong steamId, ServerDialogItem messageItem ) : void
steamId ulong
messageItem ServerDialogItem
Résultat void

DisplayDialog() public static méthode

public static DisplayDialog ( ulong steamId, string header, string subheader, string content, string buttonText = "OK" ) : void
steamId ulong
header string
subheader string
content string
buttonText string
Résultat void

HandleAddConcealExempt() public static méthode

public static HandleAddConcealExempt ( byte data ) : void
data byte
Résultat void

MoveMessage() public static méthode

public static MoveMessage ( ulong steamId, string moveType, Vector3D position ) : void
steamId ulong
moveType string
position Vector3D
Résultat void

MoveMessage() public static méthode

public static MoveMessage ( ulong steamId, string moveType, double x, double y, double z, long entityId ) : void
steamId ulong
moveType string
x double
y double
z double
entityId long
Résultat void

Notification() public static méthode

public static Notification ( ulong steamId, MyFontEnum color, int timeInSeconds, string message ) : void
steamId ulong
color MyFontEnum
timeInSeconds int
message string
Résultat void

ReceiveMessageParts() public static méthode

public static ReceiveMessageParts ( byte data ) : void
data byte
Résultat void

Segment() public static méthode

Segments a byte array.
public static Segment ( byte message ) : List
message byte
Résultat List

SendDataMessage() public static méthode

public static SendDataMessage ( ulong steamId, DataMessageType messageType, byte data ) : void
steamId ulong
messageType DataMessageType
data byte
Résultat void

SendFactionClientMessage() public static méthode

public static SendFactionClientMessage ( ulong playerSteamId, string message ) : void
playerSteamId ulong
message string
Résultat void

SendMessagePartsTo() public static méthode

public static SendMessagePartsTo ( ulong steamId, byte data ) : void
steamId ulong
data byte
Résultat void

SendPrivateInformation() public static méthode

public static SendPrivateInformation ( ulong playerId, string infoText, string from = null ) : void
playerId ulong
infoText string
from string
Résultat void

SendPublicInformation() public static méthode

public static SendPublicInformation ( string infoText ) : void
infoText string
Résultat void

SendVoxelReset() public static méthode

public static SendVoxelReset ( long entityId ) : void
entityId long
Résultat void

WaypointMessage() public static méthode

public static WaypointMessage ( ServerWaypointItem serverItem ) : void
serverItem ServerWaypointItem
Résultat void

WaypointMessage() public static méthode

public static WaypointMessage ( WaypointItem item ) : void
item WaypointItem
Résultat void

WaypointMessage() public static méthode

public static WaypointMessage ( ulong userId, string waypointString ) : void
userId ulong
waypointString string
Résultat void