Method | Description | |
---|---|---|
Connect ( ) : void | ||
GetFavorites ( ) : String[]>.Dictionary |
||
GetUsername ( ) : String | ||
InitMPClient ( |
||
SetAutoReconnect ( bool newAutoReconnect ) : void | ||
SetFavorites ( String[]>.Dictionary |
||
SetMessage ( String newMessage ) : void | ||
SetServer ( String newHostname ) : void | ||
SetUsername ( String newUsername ) : void | ||
acceptPluginInterop ( byte bytes ) : void | ||
clearConnectionState ( ) : void | ||
handleSplitMessage ( byte data ) : void | ||
readConfigFile ( ) : void |
Method | Description | |
---|---|---|
FileCheck ( ) : bool | ||
ReceiveCallback ( IAsyncResult ar ) : void | ||
asyncTCPSend ( IAsyncResult result ) : void | ||
asyncUDPSend ( IAsyncResult result ) : void | ||
beginAsyncRead ( ) : void | ||
beginConnect ( ) : void | ||
buildMessageByteArray ( KMPCommon id, byte data, byte prefix = null ) : byte[] | ||
buildNewXML ( ) : string | ||
connectionLoop ( ) : bool |
Connect to the server and run a session until the connection ends
|
|
enqueueClientInteropMessage ( KMPCommon id, byte data ) : void | ||
enqueuePluginChatMessage ( String message, bool print = false ) : void | ||
enqueueTextMessage ( InTextMessage message, bool to_plugin = true ) : void | ||
enqueueTextMessage ( String message, bool from_server = false, bool to_plugin = true, bool isMOTD = false ) : void | ||
findCraftFilename ( String craft_name, KMPCommon &craft_type ) : String | ||
getCraftFilename ( String craft_name, KMPCommon craft_type ) : String | ||
getKMPDirectory ( ) : String | ||
handleChat ( ) : void | ||
handleChatInput ( String line ) : void | ||
handleConnection ( ) : void | ||
handleInteropMessage ( KMPCommon id, byte data ) : void | ||
handleMessage ( KMPCommon id, byte data ) : void | ||
handlePluginInterop ( ) : void | ||
handlePluginUpdates ( ) : void | ||
messageReceived ( KMPCommon id, byte data ) : void | ||
modCheck ( byte kmpModControl_bytes ) : bool | ||
parseModFile ( string ModFileContent ) : void | ||
passExceptionToMain ( Exception e ) : void | ||
processPluginInterop ( ) : void | ||
queueOutgoingMessage ( KMPCommon id, byte data ) : void | ||
queueOutgoingUDPMessage ( KMPCommon id, byte data ) : void | ||
readTokenFile ( ) : void | ||
resourceCheck ( ) : bool | ||
safeAbort ( Thread thread, bool join = false ) : void | ||
safeDelete ( String filename ) : void | ||
sendConnectionEndMessage ( String message ) : void | ||
sendHandshakeMessage ( ) : void | ||
sendOutgoingMessages ( ) : void | ||
sendOutgoingUDPMessages ( ) : void | ||
sendPluginUpdate ( byte data, bool primary ) : void | ||
sendScenarioUpdate ( byte data ) : void | ||
sendScreenshotWatchPlayerMessage ( String name ) : void | ||
sendShareCraftMessage ( String craft_name, byte data, KMPCommon type ) : void | ||
sendShareScreenshotMessage ( byte data ) : void | ||
sendTextMessage ( String message ) : void | ||
sendUDPProbeMessage ( bool forceUDP ) : void | ||
splitOutgoingMessage ( byte &next_message ) : void | ||
startSaveExists ( ) : bool | ||
syncTimeRewrite ( byte &next_message ) : void | ||
verifyShipsDirectory ( ) : void | ||
writeClientData ( ) : void | ||
writeConfigFile ( ) : void |
public static GetFavorites ( ) : String[]>.Dictionary |
||
return | String[]>.Dictionary |
public static InitMPClient ( |
||
manager | ||
return | void |
public static SetAutoReconnect ( bool newAutoReconnect ) : void | ||
newAutoReconnect | bool | |
return | void |
public static SetFavorites ( String[]>.Dictionary |
||
newFavorites | String[]>.Dictionary | |
return | void |
public static SetMessage ( String newMessage ) : void | ||
newMessage | String | |
return | void |
public static SetServer ( String newHostname ) : void | ||
newHostname | String | |
return | void |
public static SetUsername ( String newUsername ) : void | ||
newUsername | String | |
return | void |
public static acceptPluginInterop ( byte bytes ) : void | ||
bytes | byte | |
return | void |
public static clearConnectionState ( ) : void | ||
return | void |
public static handleSplitMessage ( byte data ) : void | ||
data | byte | |
return | void |
public static int currentBytesToReceive | ||
return | int |
public static bool currentMessageHeaderRecieved | ||
return | bool |
public static KMPCommon.ServerMessageID currentMessageID | ||
return | KMPCommon.ServerMessageID |
public static Dictionary |
||
return | String[]>.Dictionary |
public static KMPCommon.ServerMessageID handlingMessageType | ||
return | KMPCommon.ServerMessageID |
public static byte inactiveShipsPerUpdate | ||
return | byte |
public static bool intentionalConnectionEnd | ||
return | bool |
public static object interopOutQueueLock | ||
return | object |
public static byte[] kmpModControl_bytes | ||
return | byte[] |
public static long lastClientDataChangeTime | ||
return | long |
public static long lastClientDataWriteTime | ||
return | long |
public static long lastKeepAliveSendTime | ||
return | long |
public static long lastScreenshotShareTime | ||
return | long |
public static byte[] lastSharedScreenshot | ||
return | byte[] |
public static long lastTCPMessageSendTime | ||
return | long |
public static long lastUDPAckReceiveTime | ||
return | long |
public static long lastUDPMessageSendTime | ||
return | long |
public static Dictionary |
||
return | SHAMod>.Dictionary |
public static Queue |
||
return | Queue |
public static byte[] queuedOutScreenshot | ||
return | byte[] |
public static bool quitHelperMessageShow | ||
return | bool |
public static Queue |
||
return | Queue |
public static string resourceControlMode | ||
return | string |
public static ScreenshotSettings screenshotSettings | ||
return | ScreenshotSettings |
public static object sendOutgoingMessagesLock | ||
return | object |
public static object sendOutgoingUDPMessagesLock | ||
return | object |
public static object serverSettingsLock | ||
return | object |
public static Exception threadException | ||
return | Exception |
public static object threadExceptionLock | ||
return | object |
public static String threadExceptionStackTrace | ||
return | String |