C# Класс 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.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

RequestCityToken() публичный статический Метод

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
Результат void

SendCharacterCreate() публичный статический Метод

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.
Результат void

SendCharacterCreateCity() публичный статический Метод

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.
Результат void

SendCharacterInfoRequest() публичный статический Метод

public static SendCharacterInfoRequest ( string TimeStamp ) : void
TimeStamp string
Результат void

SendCharacterRetirement() публичный статический Метод

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.
Результат void

SendCityToken() публичный статический Метод

Sends a token to a CityServer, as received by a LoginServer.
public static SendCityToken ( NetworkClient Client ) : void
Client GonzoNet.NetworkClient A NetworkClient instance.
Результат void

SendLetter() публичный статический Метод

public static SendLetter ( NetworkClient Client, string Msg, string Subject, string GUID ) : void
Client GonzoNet.NetworkClient
Msg string
Subject string
GUID string
Результат void

SendLoginRequest() публичный статический Метод

public static SendLoginRequest ( GonzoNet.LoginArgsContainer Args ) : void
Args GonzoNet.LoginArgsContainer
Результат void

SendLoginRequestCity() публичный статический Метод

public static SendLoginRequestCity ( GonzoNet.LoginArgsContainer Args ) : void
Args GonzoNet.LoginArgsContainer
Результат void

SendLotCostRequest() публичный статический Метод

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.
Результат void

SendLotPurchaseRequest() публичный статический Метод

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.
Результат void