C# Class Tibialyzer.HuntManager

Show file Open project: Mytherin/Tibialyzer Class Usage Examples

Public Properties

Property Type Description
activeHunt Hunt

Public Methods

Method Description
AddKillToHunt ( Hunt h, int>.Tuple resultList, string t, string message, int stamp, int hour, int minute, System.Data.SQLite.SQLiteTransaction transaction = null ) : void
AddLoot ( Hunt h, Item item, int itemCount ) : void
AddSkin ( Hunt h, string message, Tibialyzer.Creature cr, Item item, int count, string timestamp ) : void
AddUsedItems ( Hunt hunt, Dictionary usedItems ) : void
AddUsedItems ( Hunt hunt, Item item, int itemCount ) : void
CheckTrackedHunts ( Hunt h, int>.Tuple resultList, string t, string message, int stamp, int hour, int minute, SQLiteTransaction transaction = null ) : Hunt
CreateNewHunt ( ) : void
DeleteHunt ( Hunt h ) : void
GetHighestKillCreature ( Hunt h ) : Creature
GetHunt ( int index ) : Hunt
GetHunt ( string search ) : Hunt
GetUsedItems ( Hunt hunt ) : int>>.List
HuntCount ( ) : int
Initialize ( ) : void
InsertSkin ( Creature cr, int count = 1 ) : void
IterateHunts ( ) : IEnumerable
LoadLog ( Hunt h, string logPath ) : void
SaveHunts ( ) : void
SaveLog ( Hunt h, string logPath ) : void
SetActiveHunt ( Hunt h ) : void
SetHuntTime ( Hunt h, int clearMinutes ) : void
SwitchHunt ( string parameter ) : void
clearOldLog ( Hunt h, int clearMinutes = 10 ) : void
deleteCreatureFromLog ( Creature cr ) : void
deleteCreatureWithThreshold ( int killThreshold ) : void
deleteLogMessage ( Hunt h, string logMessage ) : void
refreshLootCreatures ( Hunt h ) : List
resetHunt ( string parameter ) : bool
resetHunt ( Hunt h ) : void

Private Methods

Method Description
nameExists ( string str ) : bool

Method Details

AddKillToHunt() public static method

public static AddKillToHunt ( Hunt h, int>.Tuple resultList, string t, string message, int stamp, int hour, int minute, System.Data.SQLite.SQLiteTransaction transaction = null ) : void
h Hunt
resultList int>.Tuple
t string
message string
stamp int
hour int
minute int
transaction System.Data.SQLite.SQLiteTransaction
return void

AddLoot() public static method

public static AddLoot ( Hunt h, Item item, int itemCount ) : void
h Hunt
item Item
itemCount int
return void

AddSkin() public static method

public static AddSkin ( Hunt h, string message, Tibialyzer.Creature cr, Item item, int count, string timestamp ) : void
h Hunt
message string
cr Tibialyzer.Creature
item Item
count int
timestamp string
return void

AddUsedItems() public static method

public static AddUsedItems ( Hunt hunt, Dictionary usedItems ) : void
hunt Hunt
usedItems Dictionary
return void

AddUsedItems() public static method

public static AddUsedItems ( Hunt hunt, Item item, int itemCount ) : void
hunt Hunt
item Item
itemCount int
return void

CheckTrackedHunts() public static method

public static CheckTrackedHunts ( Hunt h, int>.Tuple resultList, string t, string message, int stamp, int hour, int minute, SQLiteTransaction transaction = null ) : Hunt
h Hunt
resultList int>.Tuple
t string
message string
stamp int
hour int
minute int
transaction SQLiteTransaction
return Hunt

CreateNewHunt() public static method

public static CreateNewHunt ( ) : void
return void

DeleteHunt() public static method

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

GetHighestKillCreature() public static method

public static GetHighestKillCreature ( Hunt h ) : Creature
h Hunt
return Creature

GetHunt() public static method

public static GetHunt ( int index ) : Hunt
index int
return Hunt

GetHunt() public static method

public static GetHunt ( string search ) : Hunt
search string
return Hunt

GetUsedItems() public static method

public static GetUsedItems ( Hunt hunt ) : int>>.List
hunt Hunt
return int>>.List

HuntCount() public static method

public static HuntCount ( ) : int
return int

Initialize() public static method

public static Initialize ( ) : void
return void

InsertSkin() public static method

public static InsertSkin ( Creature cr, int count = 1 ) : void
cr Creature
count int
return void

IterateHunts() public static method

public static IterateHunts ( ) : IEnumerable
return IEnumerable

LoadLog() public static method

public static LoadLog ( Hunt h, string logPath ) : void
h Hunt
logPath string
return void

SaveHunts() public static method

public static SaveHunts ( ) : void
return void

SaveLog() public static method

public static SaveLog ( Hunt h, string logPath ) : void
h Hunt
logPath string
return void

SetActiveHunt() public static method

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

SetHuntTime() public static method

public static SetHuntTime ( Hunt h, int clearMinutes ) : void
h Hunt
clearMinutes int
return void

SwitchHunt() public static method

public static SwitchHunt ( string parameter ) : void
parameter string
return void

clearOldLog() public static method

public static clearOldLog ( Hunt h, int clearMinutes = 10 ) : void
h Hunt
clearMinutes int
return void

deleteCreatureFromLog() public static method

public static deleteCreatureFromLog ( Creature cr ) : void
cr Creature
return void

deleteCreatureWithThreshold() public static method

public static deleteCreatureWithThreshold ( int killThreshold ) : void
killThreshold int
return void

deleteLogMessage() public static method

public static deleteLogMessage ( Hunt h, string logMessage ) : void
h Hunt
logMessage string
return void

refreshLootCreatures() public static method

public static refreshLootCreatures ( Hunt h ) : List
h Hunt
return List

resetHunt() public static method

public static resetHunt ( string parameter ) : bool
parameter string
return bool

resetHunt() public static method

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

Property Details

activeHunt public static property

public static Hunt activeHunt
return Hunt