프로퍼티 | 타입 | 설명 | |
---|---|---|---|
instance | NetworkingManager, |
메소드 | 설명 | |
---|---|---|
ClearSubscriptions ( ) : void | ||
GenerateMapInJSON ( int seed ) : string | ||
ResetConnections ( ) : void | ||
StartGame ( ) : void | ||
Subscribe ( Action |
||
TCP_ConnectToServer ( string ipAddress, short port ) : int | ||
TCP_DisposeClient ( ) : void | ||
TCP_GetData ( ) : IntPtr | ||
TCP_Send ( string message, int size ) : int | ||
TCP_StartReadThread ( ) : int | ||
UDP_ConnectToServer ( string ipAddress, short port ) : int | ||
UDP_DisposeClient ( ) : void | ||
UDP_GetData ( ) : IntPtr | ||
UDP_SendData ( string message, int size ) : int | ||
UDP_StartReadThread ( ) : int | ||
Unsubscribe ( DataType, dataType, int id ) : void | ||
send_next_packet ( DataType, type, int id, string>.List |
||
update_data ( string JSONGameState ) : void |
메소드 | 설명 | |
---|---|---|
Awake ( ) : void | ||
GenerateMap ( int seed ) : IntPtr | ||
Start ( ) : void | ||
TCP_ConnectToServer ( IntPtr client, string ipAddress, short port ) : int | ||
TCP_CreateClient ( ) : IntPtr | ||
TCP_DisposeClient ( IntPtr client ) : void | ||
TCP_GetData ( IntPtr client ) : IntPtr | ||
TCP_Send ( IntPtr client, string message, int size ) : int | ||
TCP_StartReadThread ( IntPtr client ) : int | ||
UDP_ConnectToServer ( IntPtr client, string ipAddress, short port ) : int | ||
UDP_CreateClient ( ) : IntPtr | ||
UDP_DisposeClient ( IntPtr client ) : void | ||
UDP_GetData ( IntPtr client ) : IntPtr | ||
UDP_Send ( IntPtr client, string message, int size ) : int | ||
UDP_StartReadThread ( IntPtr client ) : int | ||
Update ( ) : void | ||
create_sending_json ( Protocol, protocol ) : string | ||
receive_data_tcp ( ) : string | ||
receive_data_udp ( ) : string | ||
send_data ( ) : void |
public static GenerateMapInJSON ( int seed ) : string | ||
seed | int | |
리턴 | string |
public static Subscribe ( Action |
||
callback | Action |
|
dataType | DataType, | |
id | int | |
리턴 | void |
public static TCP_ConnectToServer ( string ipAddress, short port ) : int | ||
ipAddress | string | |
port | short | |
리턴 | int |
public static TCP_Send ( string message, int size ) : int | ||
message | string | |
size | int | |
리턴 | int |
public static UDP_ConnectToServer ( string ipAddress, short port ) : int | ||
ipAddress | string | |
port | short | |
리턴 | int |
public static UDP_SendData ( string message, int size ) : int | ||
message | string | |
size | int | |
리턴 | int |
public static Unsubscribe ( DataType, dataType, int id ) : void | ||
dataType | DataType, | |
id | int | |
리턴 | void |
public static send_next_packet ( DataType, type, int id, string>.List |
||
type | DataType, | |
id | int | |
memersToSend | string>.List | |
protocol | Protocol, | |
리턴 | string |
public update_data ( string JSONGameState ) : void | ||
JSONGameState | string | |
리턴 | void |