C# 클래스 GameMachine.Core.App

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

공개 프로퍼티들

프로퍼티 타입 설명
client Client
connected bool
disconnectTime float
echoTimeout double
gameTickInterval float
protocol Login.Protocol
remoteEcho RemoteEcho
running bool
showClientStats bool

공개 메소드들

메소드 설명
Login ( string gameId, string hostname, int httpPort, string username, string password, Authentication success, Authentication error ) : void
OnAppStarted ( AppStarted callback ) : void
OnConnectionTimeout ( ConnectionTimeout connectionTimeout ) : void
Run ( Login protocol, string host, int port, string username, int authtoken ) : void
StartCoreActors ( ) : void
onRunning ( object caller, string methodName ) : void

비공개 메소드들

메소드 설명
ConnectLoop ( ) : void
OnApplicationQuit ( ) : void
OnEchoReceived ( ) : void
OnPlayerConnected ( ) : void
RunOnRunningCallbacks ( ) : void
SetEchoInterval ( ) : void
Start ( ) : void
UpdateNetwork ( ) : void
UpdateStats ( ) : void

메소드 상세

Login() 공개 메소드

public Login ( string gameId, string hostname, int httpPort, string username, string password, Authentication success, Authentication error ) : void
gameId string
hostname string
httpPort int
username string
password string
success Authentication
error Authentication
리턴 void

OnAppStarted() 공개 메소드

public OnAppStarted ( AppStarted callback ) : void
callback AppStarted
리턴 void

OnConnectionTimeout() 공개 메소드

public OnConnectionTimeout ( ConnectionTimeout connectionTimeout ) : void
connectionTimeout ConnectionTimeout
리턴 void

Run() 공개 메소드

public Run ( Login protocol, string host, int port, string username, int authtoken ) : void
protocol Login
host string
port int
username string
authtoken int
리턴 void

StartCoreActors() 공개 메소드

public StartCoreActors ( ) : void
리턴 void

onRunning() 공개 정적인 메소드

public static onRunning ( object caller, string methodName ) : void
caller object
methodName string
리턴 void

프로퍼티 상세

client 공개적으로 프로퍼티

public Client client
리턴 Client

connected 공개적으로 프로퍼티

public bool connected
리턴 bool

disconnectTime 공개적으로 프로퍼티

public float disconnectTime
리턴 float

echoTimeout 공개적으로 프로퍼티

public double echoTimeout
리턴 double

gameTickInterval 공개적으로 정적으로 프로퍼티

public static float gameTickInterval
리턴 float

protocol 공개적으로 정적으로 프로퍼티

public static Login.Protocol protocol
리턴 Login.Protocol

remoteEcho 공개적으로 정적으로 프로퍼티

public static RemoteEcho remoteEcho
리턴 RemoteEcho

running 공개적으로 프로퍼티

public bool running
리턴 bool

showClientStats 공개적으로 프로퍼티

public bool showClientStats
리턴 bool