C# 클래스 PerformanceMeasuring.GameDebugTools.RemoteDebugCommand

Remote debug component.
This is the game component that supports remote debug command. When you use "remote" command on Windows side, it connect to Xbox 360 game via SystemLink. After you connected to Xbox 360, you can type debug command on Windows side that actually executed on Xbox 360 game. So, you can run debug command without connect a keyboard to the Xbox 360 console. To quit remote debug command more, simply type 'quit' command.
상속: Microsoft.Xna.Framework.GameComponent, IDebugCommandExecutioner, IDebugEchoListner
파일 보기 프로젝트 열기: vchelaru/FlatRedBall

공개 메소드들

메소드 설명
ConnectedToRemote ( ) : void

Start remote debug command.

DisconnectedFromRemote ( ) : void

End remote debug command.

Echo ( DebugCommandMessage messageType, string text ) : void
ExecuteCommand ( string command ) : void
Initialize ( ) : void
NetworkSession_SessionEnded ( object sender, Microsoft.Xna.Framework.Net.NetworkSessionEndedEventArgs e ) : void

Handle the case host machine is gone.

ProcessRecievedPacket ( string packetString ) : bool

Process recieved packet string.

You can call this method if you own network session on the game side.

RemoteDebugCommand ( Microsoft.Xna.Framework.Game game ) : System
SendPacket ( string header, string text ) : void

Send remote debug command packet.

Update ( GameTime gameTime ) : void

Update

비공개 메소드들

메소드 설명
ExecuteQuitCommand ( IDebugCommandHost host, string command, IList arguments ) : void
ExecuteRemoteCommand ( IDebugCommandHost host, string command, IList arguments ) : void

메소드 상세

ConnectedToRemote() 공개 메소드

Start remote debug command.
public ConnectedToRemote ( ) : void
리턴 void

DisconnectedFromRemote() 공개 메소드

End remote debug command.
public DisconnectedFromRemote ( ) : void
리턴 void

Echo() 공개 메소드

public Echo ( DebugCommandMessage messageType, string text ) : void
messageType DebugCommandMessage
text string
리턴 void

ExecuteCommand() 공개 메소드

public ExecuteCommand ( string command ) : void
command string
리턴 void

Initialize() 공개 메소드

public Initialize ( ) : void
리턴 void

NetworkSession_SessionEnded() 공개 메소드

Handle the case host machine is gone.
public NetworkSession_SessionEnded ( object sender, Microsoft.Xna.Framework.Net.NetworkSessionEndedEventArgs e ) : void
sender object
e Microsoft.Xna.Framework.Net.NetworkSessionEndedEventArgs
리턴 void

ProcessRecievedPacket() 공개 메소드

Process recieved packet string.
You can call this method if you own network session on the game side.
public ProcessRecievedPacket ( string packetString ) : bool
packetString string
리턴 bool

RemoteDebugCommand() 공개 메소드

public RemoteDebugCommand ( Microsoft.Xna.Framework.Game game ) : System
game Microsoft.Xna.Framework.Game
리턴 System

SendPacket() 공개 메소드

Send remote debug command packet.
public SendPacket ( string header, string text ) : void
header string
text string
리턴 void

Update() 공개 메소드

Update
public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
리턴 void