C# Class Avalon.Managers.Database.Database

Show file Open project: mabinogidev/mabinogi-development

Public Properties

Property Type Description
myConnection System.Data.SqlClient.SqlConnection
sConnectionString string

Public Methods

Method Description
CharacterCreate ( String Name, int Class, int AID ) : SMSG_CHARACTER_CREATE
CharacterDelete ( String Name, int AID ) : SMSG_CHARACTER_DELETE
CharacterList ( int AID ) : List
Initialize ( ) : void
LoadCharacter ( int CID ) : bool
Login ( String Username, String Password, SocketClient sockstate ) : SMSG_ACCOUNT_LOGIN
Query ( String query ) : System.Data.SqlClient.SqlDataReader

Method Details

CharacterCreate() public static method

public static CharacterCreate ( String Name, int Class, int AID ) : SMSG_CHARACTER_CREATE
Name String
Class int
AID int
return Avalon.Network.Packets.SMSG_CHARACTER_CREATE

CharacterDelete() public static method

public static CharacterDelete ( String Name, int AID ) : SMSG_CHARACTER_DELETE
Name String
AID int
return Avalon.Network.Packets.SMSG_CHARACTER_DELETE

CharacterList() public static method

public static CharacterList ( int AID ) : List
AID int
return List

Initialize() public static method

public static Initialize ( ) : void
return void

LoadCharacter() public static method

public static LoadCharacter ( int CID ) : bool
CID int
return bool

Login() public static method

public static Login ( String Username, String Password, SocketClient sockstate ) : SMSG_ACCOUNT_LOGIN
Username String
Password String
sockstate Avalon.Network.SocketClient
return Avalon.Network.Packets.SMSG_ACCOUNT_LOGIN

Query() public static method

public static Query ( String query ) : System.Data.SqlClient.SqlDataReader
query String
return System.Data.SqlClient.SqlDataReader

Property Details

myConnection public static property

public static SqlConnection,System.Data.SqlClient myConnection
return System.Data.SqlClient.SqlConnection

sConnectionString public static property

public static string sConnectionString
return string