프로퍼티 | 타입 | 설명 | |
---|---|---|---|
avatarPrefab | Avatar | ||
clientInfo | RequestSocket | ||
clientSimulation | RequestSocket | ||
debugNetworkMessages | bool | ||
environmentScene | string | ||
hostAddress | string | ||
logSimpleTimeInfo | bool | ||
logTimingInfo | bool | ||
portNumber | string | ||
portNumber_info | string | ||
saveDebugImageFiles | bool | ||
shouldCreateServer | bool | ||
shouldCreateTestClient | bool | ||
usePngFiles | bool |
메소드 | 설명 | |
---|---|---|
AreAllAvatarsReady ( ) : bool | ||
CreateJoinMsgJson ( ) : JsonData | ||
CreateMsgJson ( string msgType ) : JsonData | ||
GetAllAvatars ( ) : List |
||
GetServerForClient ( RequestSocket client ) : ResponseSocket | ||
HandleClientFrameMessage ( RequestSocket client, NetMQMessage msg ) : void | ||
HandleFrameMessage ( ResponseSocket server, NetMQMessage msg ) : void | ||
Init ( string hostAddress, string portNumber, bool shouldCreateTestClient, bool shouldCreateServer, bool debugNetworkMessages, bool logSimpleTimingInfo, bool logDetailedTimeInfo, string preferredImageFormat, bool saveDebugImageFiles, string environmentScene ) : void | ||
Init ( string hostAddress, string portNumber, string portNumber_info, bool shouldCreateTestClient, bool shouldCreateServer, bool debugNetworkMessages, bool logSimpleTimingInfo, bool logDetailedTimeInfo, string preferredImageFormat, bool saveDebugImageFiles, string environmentScene ) : void | ||
OnClientJoin ( ResponseSocket server, JsonData data ) : void | ||
ReadOutMessage ( NetMQMessage msg ) : string | ||
ReceiveSceneSwitch ( ResponseSocket server, JsonData jsonData ) : void | ||
RecieveClientInput ( ResponseSocket server, JsonData jsonData ) : void | ||
SendAndReceiveMongoDB ( JsonData jsonData ) : JsonData | ||
SendFrameUpdate ( CameraStreamer, streamCapture, Avatar a ) : void | ||
SimulateClientInput ( RequestSocket client, JsonData jsonData, NetMQMessage msg ) : void | ||
colorUIDToInt ( Color colorUID ) : int | ||
colorUIDToString ( Color colorUID ) : string |
메소드 | 설명 | |
---|---|---|
CreateNewSocketConnection ( ) : void | ||
CreateTestClient ( ResponseSocket server ) : void | ||
FixedUpdate ( ) : void | ||
OnDisable ( ) : void | ||
ReadOutFrame ( NetMQFrame frame ) : string | ||
Start ( ) : void | ||
Update ( ) : void | ||
sceneWasLoaded ( Scene scene, LoadSceneMode mode ) : void |
public static CreateMsgJson ( string msgType ) : JsonData | ||
msgType | string | |
리턴 | JsonData |
public GetServerForClient ( RequestSocket client ) : ResponseSocket | ||
client | RequestSocket | |
리턴 | ResponseSocket |
public HandleClientFrameMessage ( RequestSocket client, NetMQMessage msg ) : void | ||
client | RequestSocket | |
msg | NetMQMessage | |
리턴 | void |
public HandleFrameMessage ( ResponseSocket server, NetMQMessage msg ) : void | ||
server | ResponseSocket | |
msg | NetMQMessage | |
리턴 | void |
public Init ( string hostAddress, string portNumber, bool shouldCreateTestClient, bool shouldCreateServer, bool debugNetworkMessages, bool logSimpleTimingInfo, bool logDetailedTimeInfo, string preferredImageFormat, bool saveDebugImageFiles, string environmentScene ) : void | ||
hostAddress | string | |
portNumber | string | |
shouldCreateTestClient | bool | |
shouldCreateServer | bool | |
debugNetworkMessages | bool | |
logSimpleTimingInfo | bool | |
logDetailedTimeInfo | bool | |
preferredImageFormat | string | |
saveDebugImageFiles | bool | |
environmentScene | string | |
리턴 | void |
public Init ( string hostAddress, string portNumber, string portNumber_info, bool shouldCreateTestClient, bool shouldCreateServer, bool debugNetworkMessages, bool logSimpleTimingInfo, bool logDetailedTimeInfo, string preferredImageFormat, bool saveDebugImageFiles, string environmentScene ) : void | ||
hostAddress | string | |
portNumber | string | |
portNumber_info | string | |
shouldCreateTestClient | bool | |
shouldCreateServer | bool | |
debugNetworkMessages | bool | |
logSimpleTimingInfo | bool | |
logDetailedTimeInfo | bool | |
preferredImageFormat | string | |
saveDebugImageFiles | bool | |
environmentScene | string | |
리턴 | void |
public OnClientJoin ( ResponseSocket server, JsonData data ) : void | ||
server | ResponseSocket | |
data | JsonData | |
리턴 | void |
public static ReadOutMessage ( NetMQMessage msg ) : string | ||
msg | NetMQMessage | |
리턴 | string |
public ReceiveSceneSwitch ( ResponseSocket server, JsonData jsonData ) : void | ||
server | ResponseSocket | |
jsonData | JsonData | |
리턴 | void |
public RecieveClientInput ( ResponseSocket server, JsonData jsonData ) : void | ||
server | ResponseSocket | |
jsonData | JsonData | |
리턴 | void |
public SendAndReceiveMongoDB ( JsonData jsonData ) : JsonData | ||
jsonData | JsonData | |
리턴 | JsonData |
public SendFrameUpdate ( CameraStreamer, streamCapture, Avatar a ) : void | ||
streamCapture | CameraStreamer, | |
a | Avatar | |
리턴 | void |
public SimulateClientInput ( RequestSocket client, JsonData jsonData, NetMQMessage msg ) : void | ||
client | RequestSocket | |
jsonData | JsonData | |
msg | NetMQMessage | |
리턴 | void |
public static colorUIDToInt ( Color colorUID ) : int | ||
colorUID | Color | |
리턴 | int |
public static colorUIDToString ( Color colorUID ) : string | ||
colorUID | Color | |
리턴 | string |