C# 클래스 EssentialsPlugin.Utility.Communication

파일 보기 프로젝트 열기: rexxar-tc/EssentialsPlugin

공개 메소드들

메소드 설명
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

메소드 상세

BroadcastDataMessage() 공개 정적인 메소드

public static BroadcastDataMessage ( DataMessageType messageType, byte data ) : void
messageType DataMessageType
data byte
리턴 void

BroadcastMessageParts() 공개 정적인 메소드

public static BroadcastMessageParts ( byte data ) : void
data byte
리턴 void

Desegment() 공개 정적인 메소드

Reassembles a segmented byte array.
public static Desegment ( byte packet ) : byte[]
packet byte Array segment.
리턴 byte[]

DisableGMenu() 공개 정적인 메소드

public static DisableGMenu ( ulong steamId, string blockDef, bool subType, bool enable ) : void
steamId ulong
blockDef string
subType bool
enable bool
리턴 void

DisplayDialog() 공개 정적인 메소드

public static DisplayDialog ( ulong steamId, ServerDialogItem messageItem ) : void
steamId ulong
messageItem ServerDialogItem
리턴 void

DisplayDialog() 공개 정적인 메소드

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
리턴 void

HandleAddConcealExempt() 공개 정적인 메소드

public static HandleAddConcealExempt ( byte data ) : void
data byte
리턴 void

MoveMessage() 공개 정적인 메소드

public static MoveMessage ( ulong steamId, string moveType, Vector3D position ) : void
steamId ulong
moveType string
position Vector3D
리턴 void

MoveMessage() 공개 정적인 메소드

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
리턴 void

Notification() 공개 정적인 메소드

public static Notification ( ulong steamId, MyFontEnum color, int timeInSeconds, string message ) : void
steamId ulong
color MyFontEnum
timeInSeconds int
message string
리턴 void

ReceiveMessageParts() 공개 정적인 메소드

public static ReceiveMessageParts ( byte data ) : void
data byte
리턴 void

Segment() 공개 정적인 메소드

Segments a byte array.
public static Segment ( byte message ) : List
message byte
리턴 List

SendDataMessage() 공개 정적인 메소드

public static SendDataMessage ( ulong steamId, DataMessageType messageType, byte data ) : void
steamId ulong
messageType DataMessageType
data byte
리턴 void

SendFactionClientMessage() 공개 정적인 메소드

public static SendFactionClientMessage ( ulong playerSteamId, string message ) : void
playerSteamId ulong
message string
리턴 void

SendMessagePartsTo() 공개 정적인 메소드

public static SendMessagePartsTo ( ulong steamId, byte data ) : void
steamId ulong
data byte
리턴 void

SendPrivateInformation() 공개 정적인 메소드

public static SendPrivateInformation ( ulong playerId, string infoText, string from = null ) : void
playerId ulong
infoText string
from string
리턴 void

SendPublicInformation() 공개 정적인 메소드

public static SendPublicInformation ( string infoText ) : void
infoText string
리턴 void

SendVoxelReset() 공개 정적인 메소드

public static SendVoxelReset ( long entityId ) : void
entityId long
리턴 void

WaypointMessage() 공개 정적인 메소드

public static WaypointMessage ( ServerWaypointItem serverItem ) : void
serverItem ServerWaypointItem
리턴 void

WaypointMessage() 공개 정적인 메소드

public static WaypointMessage ( WaypointItem item ) : void
item WaypointItem
리턴 void

WaypointMessage() 공개 정적인 메소드

public static WaypointMessage ( ulong userId, string waypointString ) : void
userId ulong
waypointString string
리턴 void