C# Class Aura.Login.Network.Send

显示文件 Open project: aura-project/aura Class Usage Examples

Public Methods

Method Description
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).

Private Methods

Method Description
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.

Method Details

AcceptGiftR() public static method

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
return void

AccountInfoRequestR() public static method

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
return void

ChannelInfoRequestR() public static method

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
return void

ChannelInfoRequestR_Fail() public static method

Sends negative ChannelInfoRequestR to client.
public static ChannelInfoRequestR_Fail ( Aura.Login.Network.LoginClient client ) : void
client Aura.Login.Network.LoginClient
return void

ChannelShutdown() public static method

Sends shutdown request to all channels.
public static ChannelShutdown ( int time ) : void
time int Seconds until shutdown.
return void

ChannelStatus() public static method

Sends server/channel status update to all connected players.
public static ChannelStatus ( ICollection serverList ) : void
serverList ICollection
return void

CharacterInfoRequestR() public static method

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
return void

CharacterInfoRequestR_Fail() public static method

Sends negative xInfoRequestR to client.
public static CharacterInfoRequestR_Fail ( Aura.Login.Network.LoginClient client, int op ) : void
client Aura.Login.Network.LoginClient
op int
return void

CheckIdentR() public static method

Sends ClientIdentR to client.
public static CheckIdentR ( Aura.Login.Network.LoginClient client, bool success ) : void
client Aura.Login.Network.LoginClient
success bool
return void

CreateCharacterR() public static method

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
return void

CreateCharacterR_Fail() public static method

Sends negative CreateCharacterR to client.
public static CreateCharacterR_Fail ( Aura.Login.Network.LoginClient client ) : void
client Aura.Login.Network.LoginClient
return void

CreatePetR() public static method

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
return void

CreatePetR_Fail() public static method

Sends negative CreatePetR to client.
public static CreatePetR_Fail ( Aura.Login.Network.LoginClient client ) : void
client Aura.Login.Network.LoginClient
return void

DeleteR() public static method

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
return void

DeleteR_Fail() public static method

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)
return void

Internal_Broadcast() public static method

Sends Internal.Broadcast to all channel servers.
public static Internal_Broadcast ( string message ) : void
message string
return void

Internal_ChannelStatus() public static method

Sends server/channel status update to all connected channels.
public static Internal_ChannelStatus ( ICollection serverList ) : void
serverList ICollection
return void

Internal_RequestDisconnect() public static method

Sends account disconnect request to all channels.
public static Internal_RequestDisconnect ( string accountName ) : void
accountName string
return void

Internal_ServerIdentifyR() public static method

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
return void

LoginR() public static method

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
return void

LoginR_Fail() public static method

Sends (negative) LoginR to client.
public static LoginR_Fail ( Aura.Login.Network.LoginClient client, LoginResult result ) : void
client Aura.Login.Network.LoginClient
result LoginResult
return void

LoginR_Msg() public static method

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
return void

LoginR_Secondary() public static method

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
return void

LoginUnkR() public static method

Sends LoginUnkR to client.
public static LoginUnkR ( Aura.Login.Network.LoginClient client, byte unkByte ) : void
client Aura.Login.Network.LoginClient
unkByte byte
return void

NameCheckR() public static method

Sends NameCheckR to client.
public static NameCheckR ( Aura.Login.Network.LoginClient client, NameCheckResult result ) : void
client Aura.Login.Network.LoginClient
result NameCheckResult
return void

PetCreationOptionsRequestR() public static method

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.
return void

RefuseGiftR() public static method

Sends RefuseGiftR to client.
public static RefuseGiftR ( Aura.Login.Network.LoginClient client, bool success ) : void
client Aura.Login.Network.LoginClient
success bool
return void

TradeCardR() public static method

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.
return void