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.
Afficher le fichier Open project: RHY3756547/FreeSO Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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
Résultat void

SendCharacterCreate() public static méthode

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.
Résultat void

SendCharacterCreateCity() public static méthode

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.
Résultat void

SendCharacterInfoRequest() public static méthode

public static SendCharacterInfoRequest ( string TimeStamp ) : void
TimeStamp string
Résultat void

SendCharacterRetirement() public static méthode

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.
Résultat void

SendCityToken() public static méthode

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

SendLetter() public static méthode

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

SendLoginRequest() public static méthode

public static SendLoginRequest ( GonzoNet.LoginArgsContainer Args ) : void
Args GonzoNet.LoginArgsContainer
Résultat void

SendLoginRequestCity() public static méthode

public static SendLoginRequestCity ( GonzoNet.LoginArgsContainer Args ) : void
Args GonzoNet.LoginArgsContainer
Résultat void

SendLotCostRequest() public static méthode

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.
Résultat void

SendLotPurchaseRequest() public static méthode

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.
Résultat void