C# 클래스 LoginServer.Program

파일 보기 프로젝트 열기: dream-young-soul/soul

공개 프로퍼티들

프로퍼티 타입 설명
mDBPacket InternalPacket
mTcpClient GameBase.Network.TcpClient
m_DicSession GameBase.Network.GameSession>.Dictionary
m_GameServerIP string
m_GameServerPort int
m_Key int
m_Key2 int
server TcpServer

공개 메소드들

메소드 설명
FindGameSessionToGameID ( uint gameid ) : GameSession
LogicTimer ( ) : void
OnClose ( Socket s ) : void
OnConnect ( Socket s ) : void
OnReceive ( Socket s, byte data, int nSize ) : void
ProcessDBNetMsg ( ) : void
Run ( ) : void
SendConnectMapServer ( GameSession session, int key, int key2 ) : void

비공개 메소드들

메소드 설명
Main ( string args ) : void
OnDBClose ( Socket s ) : void
OnDBConnect ( bool isSucceed ) : void
OnDBReceive ( byte data, int nSize ) : void

메소드 상세

FindGameSessionToGameID() 공개 정적인 메소드

public static FindGameSessionToGameID ( uint gameid ) : GameSession
gameid uint
리턴 GameSession

LogicTimer() 공개 정적인 메소드

public static LogicTimer ( ) : void
리턴 void

OnClose() 공개 정적인 메소드

public static OnClose ( Socket s ) : void
s Socket
리턴 void

OnConnect() 공개 정적인 메소드

public static OnConnect ( Socket s ) : void
s Socket
리턴 void

OnReceive() 공개 정적인 메소드

public static OnReceive ( Socket s, byte data, int nSize ) : void
s Socket
data byte
nSize int
리턴 void

ProcessDBNetMsg() 공개 정적인 메소드

public static ProcessDBNetMsg ( ) : void
리턴 void

Run() 공개 정적인 메소드

public static Run ( ) : void
리턴 void

SendConnectMapServer() 공개 정적인 메소드

public static SendConnectMapServer ( GameSession session, int key, int key2 ) : void
session GameSession
key int
key2 int
리턴 void

프로퍼티 상세

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

public static InternalPacket mDBPacket
리턴 InternalPacket

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

public static TcpClient,GameBase.Network mTcpClient
리턴 GameBase.Network.TcpClient

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

public static Dictionary m_DicSession
리턴 GameBase.Network.GameSession>.Dictionary

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

public static string m_GameServerIP
리턴 string

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

public static int m_GameServerPort
리턴 int

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

public static int m_Key
리턴 int

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

public static int m_Key2
리턴 int

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

public static TcpServer server
리턴 TcpServer