HandleClient Class |
Namespace: INF1771_GameClient.Socket
The HandleClient type exposes the following members.
| Name | Description | |
|---|---|---|
| HandleClient | Initializes a new instance of the HandleClient class |
| Name | Description | |
|---|---|---|
| connect |
Connects socket to a url or ip address
| |
| disconnect |
Disconnects socket
| |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| KeepAlive |
Keep socket alive - verify current status
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| sendBackward |
Send a player backward command
| |
| sendColor(Color) |
Change player color (Color)
| |
| sendColor(Int32, Int32, Int32) |
Change player color (R, G, B)
| |
| sendForward |
Send a player forward command
| |
| sendGetItem |
Send a player get item command
| |
| sendGoodbye |
Quit game
| |
| sendMsg |
Send a raw command to the server
| |
| sendName |
Change player name
| |
| sendRequestGameStatus |
Request game status
| |
| sendRequestObservation |
Request observation
| |
| sendRequestPosition |
Request player position
| |
| sendRequestScoreboard |
Request server scoreboard
| |
| sendRequestUserStatus |
Request user status
| |
| sendSay |
Send a message to all players
| |
| sendShoot |
Send a player fire command
| |
| sendTurnLeft |
Send a player turn left command
| |
| sendTurnRight |
Send a player turn right command
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| ChangeStatusEvent |
Status Change Event Handler
| |
| CommandEvent |
Command Event Handler
|