Method | Description | |
---|---|---|
Connect ( string host, int port ) : bool | ||
EncodeIntFromString ( string s ) : byte[] | ||
EncodeString ( string s ) : byte[] | ||
IsGlobalCommand ( Command cmd ) : bool | ||
ParseFloat ( ByteStream stream ) : float | ||
ParseInt ( ByteStream stream ) : int | ||
ParseProfilerData ( string data ) : string | ||
ParseString ( ByteStream stream ) : string | ||
SendCPUProfilerCommand ( OnAnswer onAnswer ) : void | ||
SendCommand ( Command cmd, byte args, OnAnswer onAnswer ) : void | ||
SendGPUProfilerCommand ( OnAnswer onAnswer ) : void | ||
SendGetAllCommand ( OnAnswer onAnswer ) : void | ||
SendGetStatsCommand ( OnAnswer onAnswer ) : void | ||
SendSetVarCommand ( byte varData, OnAnswer onAnswer ) : void |
Method | Description | |
---|---|---|
ConvertToBytes ( int n ) : byte[] | ||
ConvertToInt ( byte data ) : int | ||
ParseProfilerDataString ( string data ) : List |
||
Receive ( System.Result &result, byte &data ) : bool | ||
Send ( Command cmd, byte data ) : bool |
public Connect ( string host, int port ) : bool | ||
host | string | |
port | int | |
return | bool |
public static EncodeIntFromString ( string s ) : byte[] | ||
s | string | |
return | byte[] |
public static EncodeString ( string s ) : byte[] | ||
s | string | |
return | byte[] |
public IsGlobalCommand ( Command cmd ) : bool | ||
cmd | Command | |
return | bool |
public static ParseFloat ( ByteStream stream ) : float | ||
stream | ByteStream | |
return | float |
public static ParseInt ( ByteStream stream ) : int | ||
stream | ByteStream | |
return | int |
public ParseProfilerData ( string data ) : string | ||
data | string | |
return | string |
public static ParseString ( ByteStream stream ) : string | ||
stream | ByteStream | |
return | string |
public SendCPUProfilerCommand ( OnAnswer onAnswer ) : void | ||
onAnswer | OnAnswer | |
return | void |
public SendCommand ( Command cmd, byte args, OnAnswer onAnswer ) : void | ||
cmd | Command | |
args | byte | |
onAnswer | OnAnswer | |
return | void |
public SendGPUProfilerCommand ( OnAnswer onAnswer ) : void | ||
onAnswer | OnAnswer | |
return | void |
public SendGetAllCommand ( OnAnswer onAnswer ) : void | ||
onAnswer | OnAnswer | |
return | void |
public SendGetStatsCommand ( OnAnswer onAnswer ) : void | ||
onAnswer | OnAnswer | |
return | void |
public SendSetVarCommand ( byte varData, OnAnswer onAnswer ) : void | ||
varData | byte | |
onAnswer | OnAnswer | |
return | void |