Visual3D Game EngineAPI Documentation for XNA, C#, VB, and .NET
The Network Client, which manages the connection to server, as well as the Player Session.

Namespace: Visual3D.Networking
Assembly: Visual3D.Networking (in Visual3D.Networking.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

      
 C#  Visual Basic 
public class NetClient : NetBase
Public Class NetClient _
	Inherits NetBase

Members

               
 All Members  Fields   Properties   Methods   Events  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
AutoSceneName
AutoStartSession
Configuration
Configuration for this client/server
(Inherited from NetBase.)
CreateSession(String)
CurrentFrameNumber
Dispose()()()() (Overrides NetBase..::..Dispose()()()().)
Disposed
FormatCommand(String)
HandleConnectResponse(NetMessage..::..HandshakeMessage..::..ConnectResponse)
HandleDisconnectedMessage(NetMessage..::..HandshakeMessage..::..Disconnected)
InitiateLogin(NetConnection..::..ConnectInfo)
IsActive
Indicates is Client is connected to a server.
IsConnected
Indicates is Client is connected to a server.
IsDisposing
IsHost
IsLoggedIn
Indicates is Client is connected to a server.
IsLoggingIn
IsLoggingOut
JoinSession(WorldHostEntry)
JoinSession(String, String, String, Int32)
Log
NetClientShutdown
NetClientStarted
NetCommandsToProcess
NumberOfCommandsToBeSent
OnLocalPlayerLogout()()()()
Player
PlayerLoggedIn
PlayerLoggedOut
ReadMessage()()()()
Reads a message, if available
ReceiveBroadcastMessage(NetCommand..::..BroadcastMessage)
ReceivePlayerChat(NetCommand..::..PlayerChat)
ReceivePlayerLoginResponseCommand(NetCommand..::..PlayerLoginResponse)
ReceivePlayerLogoutCommand(NetCommand..::..PlayerExitedSession)
ReceiveRejectedCommand(NetCommand..::..RejectedCommand)
ReceiveStartFrameCommand(NetCommand..::..StartFrame)
RequestLoginToLocalServer(Int32)
RequestLogout(String)
RequestSendOrderedMessage(NetMessage)
RequestShowMessage(PlayerInfo, String)
RequestShutdown(String) (Inherited from NetBase.)
SendChatMessage(String)
SendConnectionRequest(String, String)
SendFocusedObjectPosition()()()()
Send LocalPlayer.FocusedObject spatial update to the Networ Server.
SendObjectPosition(SceneObject)
Send Object spatial update to the Networ Server.
SendPlayerPosition()()()()
Send LocalPlayer.PlayerSceneEntity spatial update to the NetServer.
SendServerCommand(String)
SendUserCommand(UserCommand)
ServerConnection
The connection to the server; will be null until a call to Connect() has been made.
Session
SetFrameNumber(Int32)
Packages current player information and sends to server
ShutdownCompleted (Inherited from NetBase.)
Start()()()()
Start(Int32) (Inherited from NetBase.)
State
StateChanged
Status
Status of the server connection
ToString()()()() (Overrides Object..::..ToString()()()().)
WriteUserCommandsForLastFrameToNetMessage(NetCommand..::..EndFrame)

Inheritance Hierarchy

System..::..Object
  Visual3D.Networking..::..NetBase
    Visual3D.Networking..::..NetClient

See Also