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
Показать файл Открыть проект

Открытые методы

Метод Описание
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