Click or drag to resize

HandleClient Methods

The HandleClient type exposes the following members.

Methods
  NameDescription
Public methodconnect
Connects socket to a url or ip address
Public methoddisconnect
Disconnects socket
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodKeepAlive
Keep socket alive - verify current status
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodsendBackward
Send a player backward command
Public methodsendColor(Color)
Change player color (Color)
Public methodsendColor(Int32, Int32, Int32)
Change player color (R, G, B)
Public methodsendForward
Send a player forward command
Public methodsendGetItem
Send a player get item command
Public methodsendGoodbye
Quit game
Public methodsendMsg
Send a raw command to the server
Public methodsendName
Change player name
Public methodsendRequestGameStatus
Request game status
Public methodsendRequestObservation
Request observation
Public methodsendRequestPosition
Request player position
Public methodsendRequestScoreboard
Request server scoreboard
Public methodsendRequestUserStatus
Request user status
Public methodsendSay
Send a message to all players
Public methodsendShoot
Send a player fire command
Public methodsendTurnLeft
Send a player turn left command
Public methodsendTurnRight
Send a player turn right command
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also