C# 클래스 HappyFunTimes.RealNetPlayer

This object represent the connections between a player's phone and this game.
상속: NetPlayer
파일 보기 프로젝트 열기: greggman/hft-unity-gamepad 1 사용 예제들

공개 메소드들

메소드 설명
GetSessionId ( ) : string
RealNetPlayer ( HappyFunTimes.GameServer server, string id, string name, Options options = null ) : System
SendCmd ( MessageCmdData data ) : void

Sends a message to this player's phone

SendCmd ( string cmd, object data ) : void
SwitchGame ( string gameId, object data ) : void

비공개 메소드들

메소드 설명
SendLowLevelCmd ( string cmd, MessageCmdData data ) : void
SendLowLevelCmd ( string cmd, string subCmd, object data ) : void

메소드 상세

GetSessionId() 공개 메소드

public GetSessionId ( ) : string
리턴 string

RealNetPlayer() 공개 메소드

public RealNetPlayer ( HappyFunTimes.GameServer server, string id, string name, Options options = null ) : System
server HappyFunTimes.GameServer
id string
name string
options Options
리턴 System

SendCmd() 공개 메소드

Sends a message to this player's phone
public SendCmd ( MessageCmdData data ) : void
data MessageCmdData The message. It must be derived from MessageCmdData and must have a /// CmdName attribute
리턴 void

SendCmd() 공개 메소드

public SendCmd ( string cmd, object data ) : void
cmd string
data object
리턴 void

SwitchGame() 공개 메소드

public SwitchGame ( string gameId, object data ) : void
gameId string
data object
리턴 void