C# 클래스 Tibialyzer.StorageManager

파일 보기 프로젝트 열기: Mytherin/Tibialyzer

공개 프로퍼티들

프로퍼티 타입 설명
DATABASE_NULL int
DATABASE_STRING_NULL string
achievementsLoaded bool
cityIdMap City>.Dictionary
cityNameMap City>.Dictionary
creaturesLoaded bool
eventIdMap Event>.Dictionary
guildHallIdMap House>.Dictionary
helpCommands List
houseIdMap House>.Dictionary
huntsLoaded bool
itemsLoaded bool
mapFiles List
mountsLoaded bool
npcsLoaded bool
outfitsLoaded bool
questIdMap Quest>.Dictionary
questNameMap Quest>.Dictionary
spellsLoaded bool
taskGroups string>.Dictionary
taskIdMap Task>.Dictionary
taskList List>.Dictionary
worldObjectsLoaded bool

공개 메소드들

메소드 설명
ExecuteCommand ( string query ) : void
ExecuteCommandReader ( string query ) : SQLiteDataReader
ExecuteQuery ( string query ) : SQLiteDataReader
InitializeStorage ( ) : void
ReloadItems ( ) : void
UpdateConvertQuery ( string query ) : void
UpdateDatabase ( SQLiteConnection databaseConnection ) : void

Update the current (new) database from an older database (by importing user-specified values such as item value and discard/convert flags)

UpdateDiscardQuery ( string query ) : void
creatureExists ( string str ) : bool
getAchievement ( int id ) : Achievement
getAchievement ( string name ) : Achievement
getCreature ( int id ) : Tibialyzer.Creature
getCreature ( string name ) : Tibialyzer.Creature
getHouseByCity ( string city, bool guildhall ) : List
getHunt ( int id ) : Tibialyzer.HuntingPlace
getHunt ( string name ) : Tibialyzer.HuntingPlace
getHuntsForCreature ( int creatureid ) : List
getHuntsForLevels ( int minlevel, int maxlevel ) : List
getHuntsInCity ( string city ) : List
getItem ( int id ) : Item
getItem ( string name ) : Item
getItemFromTibiaID ( int id ) : Item
getItemsByCategory ( string str ) : List
getMap ( int z ) : Tibialyzer.Map
getMount ( int id ) : Tibialyzer.Mount
getMount ( string name ) : Tibialyzer.Mount
getNPC ( int id ) : Tibialyzer.NPC
getNPC ( string name ) : Tibialyzer.NPC
getNPCSellingItemInCity ( int itemid, string city ) : Tibialyzer.NPC
getNPCTeachingSpellInCity ( int spellid, string city ) : Tibialyzer.NPC
getNPCWithCity ( string city ) : List
getOutfit ( int id ) : Tibialyzer.Outfit
getOutfit ( string name ) : Tibialyzer.Outfit
getQuest ( int id ) : Tibialyzer.Quest
getQuest ( string name ) : Tibialyzer.Quest
getSpell ( int id ) : Tibialyzer.Spell
getSpell ( string name ) : Tibialyzer.Spell
getSpellsForVocation ( string vocation ) : List
getTask ( int taskid ) : Tibialyzer.Task
getTask ( string task ) : Tibialyzer.Task
getWorldObject ( string name ) : Tibialyzer.WorldObject
itemExists ( string str ) : bool
loadCreatureImage ( int id ) : void
loadItemImage ( int id ) : void
searchAchievement ( string str ) : List
searchCreature ( string str ) : List
searchHouse ( string str, bool guildhall ) : List
searchHunt ( string str ) : List
searchItem ( string str ) : List
searchMount ( string str ) : List
searchNPC ( string str ) : List
searchOutfit ( string str ) : List
searchQuest ( string str ) : List
searchSpell ( string str ) : List
searchSpellWords ( string str ) : List
setConvertRatio ( double ratio, bool stackable ) : void
setGoldRatio ( double ratio ) : void
setItemConvert ( Item item, bool convert ) : void
setItemDiscard ( Item item, bool discard ) : void
setItemValue ( Item item, long value ) : void

비공개 메소드들

메소드 설명
UpdateItem ( string title, bool discard, bool convert, long value, System.Data.SQLite.SQLiteTransaction transaction ) : void
createAchievement ( SQLiteDataReader reader ) : Achievement
createCreature ( SQLiteDataReader reader ) : Tibialyzer.Creature
createHunt ( SQLiteDataReader reader ) : Tibialyzer.HuntingPlace
createItem ( SQLiteDataReader reader ) : Item
createMount ( SQLiteDataReader reader ) : Tibialyzer.Mount
createNPC ( SQLiteDataReader reader ) : Tibialyzer.NPC
createOutfit ( SQLiteDataReader reader ) : Tibialyzer.Outfit
createSpell ( SQLiteDataReader reader ) : Tibialyzer.Spell
createWorldObject ( SQLiteDataReader reader ) : Tibialyzer.WorldObject
registerAchievement ( Achievement achievement ) : Achievement
registerCreature ( Tibialyzer.Creature cr ) : Tibialyzer.Creature
registerHunt ( Tibialyzer.HuntingPlace h ) : Tibialyzer.HuntingPlace
registerItem ( Item item ) : Item
registerMount ( Tibialyzer.Mount h ) : Tibialyzer.Mount
registerNPC ( Tibialyzer.NPC npc ) : Tibialyzer.NPC
registerOutfit ( Tibialyzer.Outfit h ) : Tibialyzer.Outfit
registerSpell ( Tibialyzer.Spell h ) : Tibialyzer.Spell
registerWorldObject ( Tibialyzer.WorldObject h ) : Tibialyzer.WorldObject

메소드 상세

ExecuteCommand() 공개 정적인 메소드

public static ExecuteCommand ( string query ) : void
query string
리턴 void

ExecuteCommandReader() 공개 정적인 메소드

public static ExecuteCommandReader ( string query ) : SQLiteDataReader
query string
리턴 System.Data.SQLite.SQLiteDataReader

ExecuteQuery() 공개 정적인 메소드

public static ExecuteQuery ( string query ) : SQLiteDataReader
query string
리턴 System.Data.SQLite.SQLiteDataReader

InitializeStorage() 공개 정적인 메소드

public static InitializeStorage ( ) : void
리턴 void

ReloadItems() 공개 정적인 메소드

public static ReloadItems ( ) : void
리턴 void

UpdateConvertQuery() 공개 정적인 메소드

public static UpdateConvertQuery ( string query ) : void
query string
리턴 void

UpdateDatabase() 공개 정적인 메소드

Update the current (new) database from an older database (by importing user-specified values such as item value and discard/convert flags)
public static UpdateDatabase ( SQLiteConnection databaseConnection ) : void
databaseConnection System.Data.SQLite.SQLiteConnection
리턴 void

UpdateDiscardQuery() 공개 정적인 메소드

public static UpdateDiscardQuery ( string query ) : void
query string
리턴 void

creatureExists() 공개 정적인 메소드

public static creatureExists ( string str ) : bool
str string
리턴 bool

getAchievement() 공개 정적인 메소드

public static getAchievement ( int id ) : Achievement
id int
리턴 Achievement

getAchievement() 공개 정적인 메소드

public static getAchievement ( string name ) : Achievement
name string
리턴 Achievement

getCreature() 공개 정적인 메소드

public static getCreature ( int id ) : Tibialyzer.Creature
id int
리턴 Tibialyzer.Creature

getCreature() 공개 정적인 메소드

public static getCreature ( string name ) : Tibialyzer.Creature
name string
리턴 Tibialyzer.Creature

getHouseByCity() 공개 정적인 메소드

public static getHouseByCity ( string city, bool guildhall ) : List
city string
guildhall bool
리턴 List

getHunt() 공개 정적인 메소드

public static getHunt ( int id ) : Tibialyzer.HuntingPlace
id int
리턴 Tibialyzer.HuntingPlace

getHunt() 공개 정적인 메소드

public static getHunt ( string name ) : Tibialyzer.HuntingPlace
name string
리턴 Tibialyzer.HuntingPlace

getHuntsForCreature() 공개 정적인 메소드

public static getHuntsForCreature ( int creatureid ) : List
creatureid int
리턴 List

getHuntsForLevels() 공개 정적인 메소드

public static getHuntsForLevels ( int minlevel, int maxlevel ) : List
minlevel int
maxlevel int
리턴 List

getHuntsInCity() 공개 정적인 메소드

public static getHuntsInCity ( string city ) : List
city string
리턴 List

getItem() 공개 정적인 메소드

public static getItem ( int id ) : Item
id int
리턴 Item

getItem() 공개 정적인 메소드

public static getItem ( string name ) : Item
name string
리턴 Item

getItemFromTibiaID() 공개 정적인 메소드

public static getItemFromTibiaID ( int id ) : Item
id int
리턴 Item

getItemsByCategory() 공개 정적인 메소드

public static getItemsByCategory ( string str ) : List
str string
리턴 List

getMap() 공개 정적인 메소드

public static getMap ( int z ) : Tibialyzer.Map
z int
리턴 Tibialyzer.Map

getMount() 공개 정적인 메소드

public static getMount ( int id ) : Tibialyzer.Mount
id int
리턴 Tibialyzer.Mount

getMount() 공개 정적인 메소드

public static getMount ( string name ) : Tibialyzer.Mount
name string
리턴 Tibialyzer.Mount

getNPC() 공개 정적인 메소드

public static getNPC ( int id ) : Tibialyzer.NPC
id int
리턴 Tibialyzer.NPC

getNPC() 공개 정적인 메소드

public static getNPC ( string name ) : Tibialyzer.NPC
name string
리턴 Tibialyzer.NPC

getNPCSellingItemInCity() 공개 정적인 메소드

public static getNPCSellingItemInCity ( int itemid, string city ) : Tibialyzer.NPC
itemid int
city string
리턴 Tibialyzer.NPC

getNPCTeachingSpellInCity() 공개 정적인 메소드

public static getNPCTeachingSpellInCity ( int spellid, string city ) : Tibialyzer.NPC
spellid int
city string
리턴 Tibialyzer.NPC

getNPCWithCity() 공개 정적인 메소드

public static getNPCWithCity ( string city ) : List
city string
리턴 List

getOutfit() 공개 정적인 메소드

public static getOutfit ( int id ) : Tibialyzer.Outfit
id int
리턴 Tibialyzer.Outfit

getOutfit() 공개 정적인 메소드

public static getOutfit ( string name ) : Tibialyzer.Outfit
name string
리턴 Tibialyzer.Outfit

getQuest() 공개 정적인 메소드

public static getQuest ( int id ) : Tibialyzer.Quest
id int
리턴 Tibialyzer.Quest

getQuest() 공개 정적인 메소드

public static getQuest ( string name ) : Tibialyzer.Quest
name string
리턴 Tibialyzer.Quest

getSpell() 공개 정적인 메소드

public static getSpell ( int id ) : Tibialyzer.Spell
id int
리턴 Tibialyzer.Spell

getSpell() 공개 정적인 메소드

public static getSpell ( string name ) : Tibialyzer.Spell
name string
리턴 Tibialyzer.Spell

getSpellsForVocation() 공개 정적인 메소드

public static getSpellsForVocation ( string vocation ) : List
vocation string
리턴 List

getTask() 공개 정적인 메소드

public static getTask ( int taskid ) : Tibialyzer.Task
taskid int
리턴 Tibialyzer.Task

getTask() 공개 정적인 메소드

public static getTask ( string task ) : Tibialyzer.Task
task string
리턴 Tibialyzer.Task

getWorldObject() 공개 정적인 메소드

public static getWorldObject ( string name ) : Tibialyzer.WorldObject
name string
리턴 Tibialyzer.WorldObject

itemExists() 공개 정적인 메소드

public static itemExists ( string str ) : bool
str string
리턴 bool

loadCreatureImage() 공개 정적인 메소드

public static loadCreatureImage ( int id ) : void
id int
리턴 void

loadItemImage() 공개 정적인 메소드

public static loadItemImage ( int id ) : void
id int
리턴 void

searchAchievement() 공개 정적인 메소드

public static searchAchievement ( string str ) : List
str string
리턴 List

searchCreature() 공개 정적인 메소드

public static searchCreature ( string str ) : List
str string
리턴 List

searchHouse() 공개 정적인 메소드

public static searchHouse ( string str, bool guildhall ) : List
str string
guildhall bool
리턴 List

searchHunt() 공개 정적인 메소드

public static searchHunt ( string str ) : List
str string
리턴 List

searchItem() 공개 정적인 메소드

public static searchItem ( string str ) : List
str string
리턴 List

searchMount() 공개 정적인 메소드

public static searchMount ( string str ) : List
str string
리턴 List

searchNPC() 공개 정적인 메소드

public static searchNPC ( string str ) : List
str string
리턴 List

searchOutfit() 공개 정적인 메소드

public static searchOutfit ( string str ) : List
str string
리턴 List

searchQuest() 공개 정적인 메소드

public static searchQuest ( string str ) : List
str string
리턴 List

searchSpell() 공개 정적인 메소드

public static searchSpell ( string str ) : List
str string
리턴 List

searchSpellWords() 공개 정적인 메소드

public static searchSpellWords ( string str ) : List
str string
리턴 List

setConvertRatio() 공개 정적인 메소드

public static setConvertRatio ( double ratio, bool stackable ) : void
ratio double
stackable bool
리턴 void

setGoldRatio() 공개 정적인 메소드

public static setGoldRatio ( double ratio ) : void
ratio double
리턴 void

setItemConvert() 공개 정적인 메소드

public static setItemConvert ( Item item, bool convert ) : void
item Item
convert bool
리턴 void

setItemDiscard() 공개 정적인 메소드

public static setItemDiscard ( Item item, bool discard ) : void
item Item
discard bool
리턴 void

setItemValue() 공개 정적인 메소드

public static setItemValue ( Item item, long value ) : void
item Item
value long
리턴 void

프로퍼티 상세

DATABASE_NULL 공개적으로 정적으로 프로퍼티

public static int DATABASE_NULL
리턴 int

DATABASE_STRING_NULL 공개적으로 정적으로 프로퍼티

public static string DATABASE_STRING_NULL
리턴 string

achievementsLoaded 공개적으로 정적으로 프로퍼티

public static bool achievementsLoaded
리턴 bool

cityIdMap 공개적으로 정적으로 프로퍼티

public static Dictionary cityIdMap
리턴 City>.Dictionary

cityNameMap 공개적으로 정적으로 프로퍼티

public static Dictionary cityNameMap
리턴 City>.Dictionary

creaturesLoaded 공개적으로 정적으로 프로퍼티

public static bool creaturesLoaded
리턴 bool

eventIdMap 공개적으로 정적으로 프로퍼티

public static Dictionary eventIdMap
리턴 Event>.Dictionary

guildHallIdMap 공개적으로 정적으로 프로퍼티

public static Dictionary guildHallIdMap
리턴 House>.Dictionary

helpCommands 공개적으로 정적으로 프로퍼티

public static List helpCommands
리턴 List

houseIdMap 공개적으로 정적으로 프로퍼티

public static Dictionary houseIdMap
리턴 House>.Dictionary

huntsLoaded 공개적으로 정적으로 프로퍼티

public static bool huntsLoaded
리턴 bool

itemsLoaded 공개적으로 정적으로 프로퍼티

public static bool itemsLoaded
리턴 bool

mapFiles 공개적으로 정적으로 프로퍼티

public static List mapFiles
리턴 List

mountsLoaded 공개적으로 정적으로 프로퍼티

public static bool mountsLoaded
리턴 bool

npcsLoaded 공개적으로 정적으로 프로퍼티

public static bool npcsLoaded
리턴 bool

outfitsLoaded 공개적으로 정적으로 프로퍼티

public static bool outfitsLoaded
리턴 bool

questIdMap 공개적으로 정적으로 프로퍼티

public static Dictionary questIdMap
리턴 Quest>.Dictionary

questNameMap 공개적으로 정적으로 프로퍼티

public static Dictionary questNameMap
리턴 Quest>.Dictionary

spellsLoaded 공개적으로 정적으로 프로퍼티

public static bool spellsLoaded
리턴 bool

taskGroups 공개적으로 정적으로 프로퍼티

public static Dictionary taskGroups
리턴 string>.Dictionary

taskIdMap 공개적으로 정적으로 프로퍼티

public static Dictionary taskIdMap
리턴 Task>.Dictionary

taskList 공개적으로 정적으로 프로퍼티

public static Dictionary> taskList
리턴 List>.Dictionary

worldObjectsLoaded 공개적으로 정적으로 프로퍼티

public static bool worldObjectsLoaded
리턴 bool