C# Class FSO.Client.Network.UIPacketSenders

Contains all the packetsenders in the game that are the result of a UI interaction. Packetsenders are functions that send packets to the servers.
Mostrar archivo Open project: RHY3756547/FreeSO Class Usage Examples

Public Methods

Method Description
RequestCityToken ( NetworkClient Client, UISim SelectedCharacter ) : void

Requests a token from the LoginServer, that can be used to log into a CityServer.

SendCharacterCreate ( UISim Character, string TimeStamp ) : void

Sends a CharacterCreate packet to the LoginServer.

SendCharacterCreateCity ( NetworkClient Client, UISim Character ) : void

Sends a CharacterCreate packet to a CityServer.

SendCharacterInfoRequest ( string TimeStamp ) : void
SendCharacterRetirement ( UISim Character ) : void

Sends a CharacterRetirement packet to the LoginServer, retiring a specific character.

SendCityToken ( NetworkClient Client ) : void

Sends a token to a CityServer, as received by a LoginServer.

SendLetter ( NetworkClient Client, string Msg, string Subject, string GUID ) : void
SendLoginRequest ( GonzoNet.LoginArgsContainer Args ) : void
SendLoginRequestCity ( GonzoNet.LoginArgsContainer Args ) : void
SendLotCostRequest ( NetworkClient Client, short X, short Y ) : void

Sends a request for the cost of a lot.

SendLotPurchaseRequest ( NetworkClient Client, short X, short Y ) : void

Sends a request to purchase a lot.

Method Details

RequestCityToken() public static method

Requests a token from the LoginServer, that can be used to log into a CityServer.
public static RequestCityToken ( NetworkClient Client, UISim SelectedCharacter ) : void
Client GonzoNet.NetworkClient A NetworkClient instance.
SelectedCharacter FSO.Client.UI.Controls.UISim
return void

SendCharacterCreate() public static method

Sends a CharacterCreate packet to the LoginServer.
public static SendCharacterCreate ( UISim Character, string TimeStamp ) : void
Character FSO.Client.UI.Controls.UISim The character to create.
TimeStamp string The timestamp of when this character was created.
return void

SendCharacterCreateCity() public static method

Sends a CharacterCreate packet to a CityServer.
public static SendCharacterCreateCity ( NetworkClient Client, UISim Character ) : void
Client GonzoNet.NetworkClient
Character FSO.Client.UI.Controls.UISim The character to create on the CityServer.
return void

SendCharacterInfoRequest() public static method

public static SendCharacterInfoRequest ( string TimeStamp ) : void
TimeStamp string
return void

SendCharacterRetirement() public static method

Sends a CharacterRetirement packet to the LoginServer, retiring a specific character.
public static SendCharacterRetirement ( UISim Character ) : void
Character FSO.Client.UI.Controls.UISim The character to retire.
return void

SendCityToken() public static method

Sends a token to a CityServer, as received by a LoginServer.
public static SendCityToken ( NetworkClient Client ) : void
Client GonzoNet.NetworkClient A NetworkClient instance.
return void

SendLetter() public static method

public static SendLetter ( NetworkClient Client, string Msg, string Subject, string GUID ) : void
Client GonzoNet.NetworkClient
Msg string
Subject string
GUID string
return void

SendLoginRequest() public static method

public static SendLoginRequest ( GonzoNet.LoginArgsContainer Args ) : void
Args GonzoNet.LoginArgsContainer
return void

SendLoginRequestCity() public static method

public static SendLoginRequestCity ( GonzoNet.LoginArgsContainer Args ) : void
Args GonzoNet.LoginArgsContainer
return void

SendLotCostRequest() public static method

Sends a request for the cost of a lot.
public static SendLotCostRequest ( NetworkClient Client, short X, short Y ) : void
Client GonzoNet.NetworkClient NetworkClient instance connected to city server.
X short X-coordinate of lot.
Y short Y-coordinate of lot.
return void

SendLotPurchaseRequest() public static method

Sends a request to purchase a lot.
public static SendLotPurchaseRequest ( NetworkClient Client, short X, short Y ) : void
Client GonzoNet.NetworkClient NetworkClient instance connected to city server.
X short X-coordinate of lot.
Y short Y-coordinate of lot.
return void