C# Класс Aura.Login.Network.Send

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
AcceptGiftR ( Aura.Login.Network.LoginClient client, Aura.Login.Database.Gift gift ) : void

Sends AcceptGiftR to client.

AccountInfoRequestR ( Aura.Login.Network.LoginClient client, bool success ) : void

Sends AccountInfoRequestR to client, with client's account's data.

ChannelInfoRequestR ( Aura.Login.Network.LoginClient client, ChannelInfo info, long characterId ) : void

Sends ChannelInfoRequestR to client.

ChannelInfoRequestR_Fail ( Aura.Login.Network.LoginClient client ) : void

Sends negative ChannelInfoRequestR to client.

ChannelShutdown ( int time ) : void

Sends shutdown request to all channels.

ChannelStatus ( ICollection serverList ) : void

Sends server/channel status update to all connected players.

CharacterInfoRequestR ( Aura.Login.Network.LoginClient client, int op, Aura.Login.Database.Character character, List items ) : void

Sends xInfoRequestR to client.

CharacterInfoRequestR_Fail ( Aura.Login.Network.LoginClient client, int op ) : void

Sends negative xInfoRequestR to client.

CheckIdentR ( Aura.Login.Network.LoginClient client, bool success ) : void

Sends ClientIdentR to client.

CreateCharacterR ( Aura.Login.Network.LoginClient client, string serverName, long id ) : void

Semds CreateCharacterR to client.

CreateCharacterR_Fail ( Aura.Login.Network.LoginClient client ) : void

Sends negative CreateCharacterR to client.

CreatePetR ( Aura.Login.Network.LoginClient client, string serverName, long id ) : void

Semds CreatePetR to client.

CreatePetR_Fail ( Aura.Login.Network.LoginClient client ) : void

Sends negative CreatePetR to client.

DeleteR ( Aura.Login.Network.LoginClient client, int op, string serverName, long id ) : void

Sends (DeleteXRequestR|RecoverXR|DeleteXR) to client.

DeleteR_Fail ( Aura.Login.Network.LoginClient client, int op ) : void

Sends negative (DeleteXRequestR|RecoverXR|DeleteXR) to client.

Internal_Broadcast ( string message ) : void

Sends Internal.Broadcast to all channel servers.

Internal_ChannelStatus ( ICollection serverList ) : void

Sends server/channel status update to all connected channels.

Internal_RequestDisconnect ( string accountName ) : void

Sends account disconnect request to all channels.

Internal_ServerIdentifyR ( Aura.Login.Network.LoginClient client, bool success ) : void

Sends Internal.ServerIdentifyR to channel client.

LoginR ( Aura.Login.Network.LoginClient client, Account account, long sessionKey, ICollection serverList ) : void

Sends positive response to login.

LoginR_Fail ( Aura.Login.Network.LoginClient client, LoginResult result ) : void

Sends (negative) LoginR to client.

LoginR_Msg ( Aura.Login.Network.LoginClient client, string format ) : void

Sends message as response to login (LoginR).

LoginR_Secondary ( Aura.Login.Network.LoginClient client, Account account, long sessionKey ) : void

Sends LoginR with request for secondary password to client.

LoginUnkR ( Aura.Login.Network.LoginClient client, byte unkByte ) : void

Sends LoginUnkR to client.

NameCheckR ( Aura.Login.Network.LoginClient client, NameCheckResult result ) : void

Sends NameCheckR to client.

PetCreationOptionsRequestR ( Aura.Login.Network.LoginClient client, PetCreationOptionsListType type, List list ) : void

Sends PetCreationOptionsRequestR to client.

RefuseGiftR ( Aura.Login.Network.LoginClient client, bool success ) : void

Sends RefuseGiftR to client.

TradeCardR ( Aura.Login.Network.LoginClient client, long cardId ) : void

Sends negative TradeCardR to client (temp).

Приватные методы

Метод Описание
Add ( this packet, Account account ) : void

Adds account information to packet.

CreateR ( Aura.Login.Network.LoginClient client, int op, string serverName, long id ) : void

One response to respond them all.

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

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

Sends AcceptGiftR to client.
public static AcceptGiftR ( Aura.Login.Network.LoginClient client, Aura.Login.Database.Gift gift ) : void
client Aura.Login.Network.LoginClient
gift Aura.Login.Database.Gift Negative response if null
Результат void

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

Sends AccountInfoRequestR to client, with client's account's data.
public static AccountInfoRequestR ( Aura.Login.Network.LoginClient client, bool success ) : void
client Aura.Login.Network.LoginClient
success bool
Результат void

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

Sends ChannelInfoRequestR to client.
public static ChannelInfoRequestR ( Aura.Login.Network.LoginClient client, ChannelInfo info, long characterId ) : void
client Aura.Login.Network.LoginClient
info Aura.Shared.Network.ChannelInfo Negative response if null.
characterId long
Результат void

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

Sends negative ChannelInfoRequestR to client.
public static ChannelInfoRequestR_Fail ( Aura.Login.Network.LoginClient client ) : void
client Aura.Login.Network.LoginClient
Результат void

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

Sends shutdown request to all channels.
public static ChannelShutdown ( int time ) : void
time int Seconds until shutdown.
Результат void

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

Sends server/channel status update to all connected players.
public static ChannelStatus ( ICollection serverList ) : void
serverList ICollection
Результат void

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

Sends xInfoRequestR to client.
public static CharacterInfoRequestR ( Aura.Login.Network.LoginClient client, int op, Aura.Login.Database.Character character, List items ) : void
client Aura.Login.Network.LoginClient
op int
character Aura.Login.Database.Character
items List
Результат void

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

Sends negative xInfoRequestR to client.
public static CharacterInfoRequestR_Fail ( Aura.Login.Network.LoginClient client, int op ) : void
client Aura.Login.Network.LoginClient
op int
Результат void

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

Sends ClientIdentR to client.
public static CheckIdentR ( Aura.Login.Network.LoginClient client, bool success ) : void
client Aura.Login.Network.LoginClient
success bool
Результат void

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

Semds CreateCharacterR to client.
public static CreateCharacterR ( Aura.Login.Network.LoginClient client, string serverName, long id ) : void
client Aura.Login.Network.LoginClient
serverName string Response is negative if null.
id long
Результат void

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

Sends negative CreateCharacterR to client.
public static CreateCharacterR_Fail ( Aura.Login.Network.LoginClient client ) : void
client Aura.Login.Network.LoginClient
Результат void

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

Semds CreatePetR to client.
public static CreatePetR ( Aura.Login.Network.LoginClient client, string serverName, long id ) : void
client Aura.Login.Network.LoginClient
serverName string Response is negative if null.
id long
Результат void

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

Sends negative CreatePetR to client.
public static CreatePetR_Fail ( Aura.Login.Network.LoginClient client ) : void
client Aura.Login.Network.LoginClient
Результат void

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

Sends (DeleteXRequestR|RecoverXR|DeleteXR) to client.
public static DeleteR ( Aura.Login.Network.LoginClient client, int op, string serverName, long id ) : void
client Aura.Login.Network.LoginClient
op int (DeleteXRequestR|RecoverXR|DeleteXR)
serverName string Negative response if null
id long
Результат void

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

Sends negative (DeleteXRequestR|RecoverXR|DeleteXR) to client.
public static DeleteR_Fail ( Aura.Login.Network.LoginClient client, int op ) : void
client Aura.Login.Network.LoginClient
op int (DeleteXRequestR|RecoverXR|DeleteXR)
Результат void

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

Sends Internal.Broadcast to all channel servers.
public static Internal_Broadcast ( string message ) : void
message string
Результат void

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

Sends server/channel status update to all connected channels.
public static Internal_ChannelStatus ( ICollection serverList ) : void
serverList ICollection
Результат void

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

Sends account disconnect request to all channels.
public static Internal_RequestDisconnect ( string accountName ) : void
accountName string
Результат void

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

Sends Internal.ServerIdentifyR to channel client.
public static Internal_ServerIdentifyR ( Aura.Login.Network.LoginClient client, bool success ) : void
client Aura.Login.Network.LoginClient
success bool
Результат void

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

Sends positive response to login.
public static LoginR ( Aura.Login.Network.LoginClient client, Account account, long sessionKey, ICollection serverList ) : void
client Aura.Login.Network.LoginClient
account Aura.Login.Database.Account
sessionKey long
serverList ICollection
Результат void

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

Sends (negative) LoginR to client.
public static LoginR_Fail ( Aura.Login.Network.LoginClient client, LoginResult result ) : void
client Aura.Login.Network.LoginClient
result LoginResult
Результат void

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

Sends message as response to login (LoginR).
public static LoginR_Msg ( Aura.Login.Network.LoginClient client, string format ) : void
client Aura.Login.Network.LoginClient
format string
Результат void

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

Sends LoginR with request for secondary password to client.
public static LoginR_Secondary ( Aura.Login.Network.LoginClient client, Account account, long sessionKey ) : void
client Aura.Login.Network.LoginClient
account Aura.Login.Database.Account
sessionKey long
Результат void

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

Sends LoginUnkR to client.
public static LoginUnkR ( Aura.Login.Network.LoginClient client, byte unkByte ) : void
client Aura.Login.Network.LoginClient
unkByte byte
Результат void

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

Sends NameCheckR to client.
public static NameCheckR ( Aura.Login.Network.LoginClient client, NameCheckResult result ) : void
client Aura.Login.Network.LoginClient
result NameCheckResult
Результат void

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

Sends PetCreationOptionsRequestR to client.
public static PetCreationOptionsRequestR ( Aura.Login.Network.LoginClient client, PetCreationOptionsListType type, List list ) : void
client Aura.Login.Network.LoginClient
type PetCreationOptionsListType
list List No overwrite if list is null.
Результат void

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

Sends RefuseGiftR to client.
public static RefuseGiftR ( Aura.Login.Network.LoginClient client, bool success ) : void
client Aura.Login.Network.LoginClient
success bool
Результат void

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

Sends negative TradeCardR to client (temp).
public static TradeCardR ( Aura.Login.Network.LoginClient client, long cardId ) : void
client Aura.Login.Network.LoginClient
cardId long Negative response if 0.
Результат void