C# Class Tibialyzer.LootDatabaseManager

Show file Open project: Mytherin/Tibialyzer Class Usage Examples

Public Methods

Method Description
BeginTransaction ( ) : System.Data.SQLite.SQLiteTransaction
Close ( ) : void
CreateHuntTable ( Hunt hunt ) : void
DeleteHuntTable ( Hunt hunt ) : void
DeleteMessage ( Hunt hunt, string msg, System.Data.SQLite.SQLiteTransaction transaction ) : void
DeleteMessagesBefore ( Hunt h, int stamp, int hour, int minute ) : void
ExecuteNonQuery ( string query ) : void
ExecuteReaderQuery ( string query ) : SQLiteDataReader
ExecuteScalar ( string query ) : object
GetHuntMessages ( Hunt hunt ) : SQLiteDataReader
GetUsedItems ( Hunt h ) : SQLiteDataReader
HuntTableExists ( Hunt h ) : bool
Initialize ( ) : void
InsertMessage ( Hunt hunt, int stamp, int hour, int minute, string message ) : void
LootUpdatedEvent ( ) : void
ReplaceDatabase ( string otherDatabase ) : void
UpdateLoot ( ) : void
UpdateUsedItems ( Hunt h ) : void

Private Methods

Method Description
OpenConnection ( ) : void

Method Details

BeginTransaction() public static method

public static BeginTransaction ( ) : System.Data.SQLite.SQLiteTransaction
return System.Data.SQLite.SQLiteTransaction

Close() public static method

public static Close ( ) : void
return void

CreateHuntTable() public static method

public static CreateHuntTable ( Hunt hunt ) : void
hunt Hunt
return void

DeleteHuntTable() public static method

public static DeleteHuntTable ( Hunt hunt ) : void
hunt Hunt
return void

DeleteMessage() public static method

public static DeleteMessage ( Hunt hunt, string msg, System.Data.SQLite.SQLiteTransaction transaction ) : void
hunt Hunt
msg string
transaction System.Data.SQLite.SQLiteTransaction
return void

DeleteMessagesBefore() public static method

public static DeleteMessagesBefore ( Hunt h, int stamp, int hour, int minute ) : void
h Hunt
stamp int
hour int
minute int
return void

ExecuteNonQuery() public static method

public static ExecuteNonQuery ( string query ) : void
query string
return void

ExecuteReaderQuery() public static method

public static ExecuteReaderQuery ( string query ) : SQLiteDataReader
query string
return System.Data.SQLite.SQLiteDataReader

ExecuteScalar() public static method

public static ExecuteScalar ( string query ) : object
query string
return object

GetHuntMessages() public static method

public static GetHuntMessages ( Hunt hunt ) : SQLiteDataReader
hunt Hunt
return System.Data.SQLite.SQLiteDataReader

GetUsedItems() public static method

public static GetUsedItems ( Hunt h ) : SQLiteDataReader
h Hunt
return System.Data.SQLite.SQLiteDataReader

HuntTableExists() public static method

public static HuntTableExists ( Hunt h ) : bool
h Hunt
return bool

Initialize() public static method

public static Initialize ( ) : void
return void

InsertMessage() public static method

public static InsertMessage ( Hunt hunt, int stamp, int hour, int minute, string message ) : void
hunt Hunt
stamp int
hour int
minute int
message string
return void

LootUpdatedEvent() public static method

public static LootUpdatedEvent ( ) : void
return void

ReplaceDatabase() public static method

public static ReplaceDatabase ( string otherDatabase ) : void
otherDatabase string
return void

UpdateLoot() public static method

public static UpdateLoot ( ) : void
return void

UpdateUsedItems() public static method

public static UpdateUsedItems ( Hunt h ) : void
h Hunt
return void