C# Класс KMPServer.Client

Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
activityLevel ActivityLevel
activityLevelLock object
averageWarpRate float
clientIndex int
connectionStartTime long
currentBytesToReceive int
currentMessage byte[]
currentMessageHeaderRecieved bool
currentMessageID KMPCommon.ClientMessageID
currentSubspaceID int
currentVessel System.Guid
disconnectMessage string
enteredSubspaceAt double
guid System.Guid
hasReceivedScenarioModules bool
lagWarning int
lastInFlightActivityTime long
lastInGameActivityTime long
lastPollTime long
lastReceiveTime long
lastSyncTime long
lastTick double
lastUDPACKTime long
playerID int
queuedOutMessages ConcurrentQueue
queuedOutMessagesHighPriority ConcurrentQueue
queuedOutMessagesSplit ConcurrentQueue
receivedHandshake bool
screenshot byte[]
screenshotLock object
sendOutgoingMessagesLock object
sharedCraftFile byte[]
sharedCraftLock object
sharedCraftName String
sharedCraftType KMPCommon.CraftType
syncOffset double
tcpClient System.Net.Sockets.TcpClient
tcpClientLock object
timestampLock object
username String
warping bool
watchPlayerName String
watchPlayerNameLock object

Открытые методы

Метод Описание
Client ( Server parent ) : System
ToString ( ) : string
disconnected ( ) : void
queueOutgoingMessage ( KMPCommon id, byte data ) : void
queueOutgoingMessage ( byte message_bytes ) : void
resetProperties ( ) : void
sendOutgoingMessages ( ) : void
splitOutgoingMessage ( byte &next_message ) : void
updateActivityLevel ( ActivityLevel level ) : void
updateReceiveTimestamp ( ) : void

Приватные методы

Метод Описание
asyncReceive ( IAsyncResult ar ) : void
asyncSend ( IAsyncResult result ) : void
beginAsyncRead ( ) : void
endReceivingMessages ( ) : void
messageReceived ( KMPCommon id, byte data ) : void
startReceivingMessages ( ) : void
syncTimeRewrite ( byte &next_message ) : void

Описание методов

Client() публичный Метод

public Client ( Server parent ) : System
parent Server
Результат System

ToString() публичный Метод

public ToString ( ) : string
Результат string

disconnected() публичный Метод

public disconnected ( ) : void
Результат void

queueOutgoingMessage() публичный Метод

public queueOutgoingMessage ( KMPCommon id, byte data ) : void
id KMPCommon
data byte
Результат void

queueOutgoingMessage() публичный Метод

public queueOutgoingMessage ( byte message_bytes ) : void
message_bytes byte
Результат void

resetProperties() публичный Метод

public resetProperties ( ) : void
Результат void

sendOutgoingMessages() публичный Метод

public sendOutgoingMessages ( ) : void
Результат void

splitOutgoingMessage() публичный Метод

public splitOutgoingMessage ( byte &next_message ) : void
next_message byte
Результат void

updateActivityLevel() публичный Метод

public updateActivityLevel ( ActivityLevel level ) : void
level ActivityLevel
Результат void

updateReceiveTimestamp() публичный Метод

public updateReceiveTimestamp ( ) : void
Результат void

Описание свойств

activityLevel публичное свойство

public ActivityLevel activityLevel
Результат ActivityLevel

activityLevelLock публичное свойство

public object activityLevelLock
Результат object

averageWarpRate публичное свойство

public float averageWarpRate
Результат float

clientIndex публичное свойство

public int clientIndex
Результат int

connectionStartTime публичное свойство

public long connectionStartTime
Результат long

currentBytesToReceive публичное свойство

public int currentBytesToReceive
Результат int

currentMessage публичное свойство

public byte[] currentMessage
Результат byte[]

currentMessageHeaderRecieved публичное свойство

public bool currentMessageHeaderRecieved
Результат bool

currentMessageID публичное свойство

public KMPCommon.ClientMessageID currentMessageID
Результат KMPCommon.ClientMessageID

currentSubspaceID публичное свойство

public int currentSubspaceID
Результат int

currentVessel публичное свойство

public Guid,System currentVessel
Результат System.Guid

disconnectMessage публичное свойство

public string disconnectMessage
Результат string

enteredSubspaceAt публичное свойство

public double enteredSubspaceAt
Результат double

guid публичное свойство

public Guid,System guid
Результат System.Guid

hasReceivedScenarioModules публичное свойство

public bool hasReceivedScenarioModules
Результат bool

lagWarning публичное свойство

public int lagWarning
Результат int

lastInFlightActivityTime публичное свойство

public long lastInFlightActivityTime
Результат long

lastInGameActivityTime публичное свойство

public long lastInGameActivityTime
Результат long

lastPollTime публичное свойство

public long lastPollTime
Результат long

lastReceiveTime публичное свойство

public long lastReceiveTime
Результат long

lastSyncTime публичное свойство

public long lastSyncTime
Результат long

lastTick публичное свойство

public double lastTick
Результат double

lastUDPACKTime публичное свойство

public long lastUDPACKTime
Результат long

playerID публичное свойство

public int playerID
Результат int

queuedOutMessages публичное свойство

public ConcurrentQueue queuedOutMessages
Результат ConcurrentQueue

queuedOutMessagesHighPriority публичное свойство

public ConcurrentQueue queuedOutMessagesHighPriority
Результат ConcurrentQueue

queuedOutMessagesSplit публичное свойство

public ConcurrentQueue queuedOutMessagesSplit
Результат ConcurrentQueue

receivedHandshake публичное свойство

public bool receivedHandshake
Результат bool

screenshot публичное свойство

public byte[] screenshot
Результат byte[]

screenshotLock публичное свойство

public object screenshotLock
Результат object

sendOutgoingMessagesLock публичное свойство

public object sendOutgoingMessagesLock
Результат object

sharedCraftFile публичное свойство

public byte[] sharedCraftFile
Результат byte[]

sharedCraftLock публичное свойство

public object sharedCraftLock
Результат object

sharedCraftName публичное свойство

public String sharedCraftName
Результат String

sharedCraftType публичное свойство

public KMPCommon.CraftType sharedCraftType
Результат KMPCommon.CraftType

syncOffset публичное свойство

public double syncOffset
Результат double

tcpClient публичное свойство

public TcpClient,System.Net.Sockets tcpClient
Результат System.Net.Sockets.TcpClient

tcpClientLock публичное свойство

public object tcpClientLock
Результат object

timestampLock публичное свойство

public object timestampLock
Результат object

username публичное свойство

public String username
Результат String

warping публичное свойство

public bool warping
Результат bool

watchPlayerName публичное свойство

public String watchPlayerName
Результат String

watchPlayerNameLock публичное свойство

public object watchPlayerNameLock
Результат object