C# 클래스 multi.ClientServer

상속: UnityEngine.MonoBehaviour
파일 보기 프로젝트 열기: sea1and/SurvivalGame 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
multiplayerHandler MultiplayerHandler

공개 메소드들

메소드 설명
CloseDown ( ) : void
Destroy ( ) : void
FoundNameToNick ( string foundName ) : string
GetConnectedPlayerName ( ) : string
GetID ( ) : uint
GetJoinedSession ( ) : string
GetPlayerNick ( ) : string
GetPlayerNr ( ) : int
GetPlayersNicks ( ) : ArrayList
GetSessions ( ) : ArrayList
HasJoinedSession ( ) : bool
Init ( string nick ) : void
IsDuringGame ( ) : bool
JoinSession ( string session ) : void
LateUpdate ( ) : void
SendEnemyAgroData ( string sender, string myName, string playerName ) : void
SendEnemyHPData ( string sender, string myname, double health ) : void
SendEnemyInitData ( string sender, string name, double enemyPosX, double enemyPosY, double enemyPosZ, double turning ) : void
SendPlayerData ( string name, double enemyPosX, double enemyPosY, double enemyPosZ, double turning, bool shooting, bool walking ) : void
SetTestStart ( ) : void
Start ( ) : void
StartUp ( ) : void
isAllJoynStarted ( ) : bool

메소드 상세

CloseDown() 공개 메소드

public CloseDown ( ) : void
리턴 void

Destroy() 공개 메소드

public Destroy ( ) : void
리턴 void

FoundNameToNick() 공개 메소드

public FoundNameToNick ( string foundName ) : string
foundName string
리턴 string

GetConnectedPlayerName() 공개 메소드

public GetConnectedPlayerName ( ) : string
리턴 string

GetID() 공개 메소드

public GetID ( ) : uint
리턴 uint

GetJoinedSession() 공개 메소드

public GetJoinedSession ( ) : string
리턴 string

GetPlayerNick() 공개 메소드

public GetPlayerNick ( ) : string
리턴 string

GetPlayerNr() 공개 메소드

public GetPlayerNr ( ) : int
리턴 int

GetPlayersNicks() 공개 메소드

public GetPlayersNicks ( ) : ArrayList
리턴 System.Collections.ArrayList

GetSessions() 공개 메소드

public GetSessions ( ) : ArrayList
리턴 System.Collections.ArrayList

HasJoinedSession() 공개 메소드

public HasJoinedSession ( ) : bool
리턴 bool

Init() 공개 메소드

public Init ( string nick ) : void
nick string
리턴 void

IsDuringGame() 공개 메소드

public IsDuringGame ( ) : bool
리턴 bool

JoinSession() 공개 메소드

public JoinSession ( string session ) : void
session string
리턴 void

LateUpdate() 공개 메소드

public LateUpdate ( ) : void
리턴 void

SendEnemyAgroData() 공개 메소드

public SendEnemyAgroData ( string sender, string myName, string playerName ) : void
sender string
myName string
playerName string
리턴 void

SendEnemyHPData() 공개 메소드

public SendEnemyHPData ( string sender, string myname, double health ) : void
sender string
myname string
health double
리턴 void

SendEnemyInitData() 공개 메소드

public SendEnemyInitData ( string sender, string name, double enemyPosX, double enemyPosY, double enemyPosZ, double turning ) : void
sender string
name string
enemyPosX double
enemyPosY double
enemyPosZ double
turning double
리턴 void

SendPlayerData() 공개 메소드

public SendPlayerData ( string name, double enemyPosX, double enemyPosY, double enemyPosZ, double turning, bool shooting, bool walking ) : void
name string
enemyPosX double
enemyPosY double
enemyPosZ double
turning double
shooting bool
walking bool
리턴 void

SetTestStart() 공개 메소드

public SetTestStart ( ) : void
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

StartUp() 공개 메소드

public StartUp ( ) : void
리턴 void

isAllJoynStarted() 공개 메소드

public isAllJoynStarted ( ) : bool
리턴 bool

프로퍼티 상세

multiplayerHandler 공개적으로 프로퍼티

public MultiplayerHandler multiplayerHandler
리턴 MultiplayerHandler