C# 클래스 invertika_account.Account.Storage

파일 보기 프로젝트 열기: Invertika/server

공개 메소드들

메소드 설명
Storage ( ) : System
addAccount ( ISL account ) : void
addFloorItem ( int mapId, int itemId, int amount, int posX, int posY ) : void
addGuild ( Guild guild ) : void
addGuildMember ( int guildId, int memberId ) : void
addTransaction ( invertika_account.Common.Transaction trans ) : void
banCharacter ( int id, int duration ) : void
checkBannedAccounts ( ) : void
doesCharacterNameExist ( string name ) : bool
doesEmailAddressExist ( string email ) : bool
doesUserNameExist ( string name ) : bool
flush ( ISL account ) : void
getAccount ( int accountID ) : ISL.Server.Account.Account
getAccount ( string userName ) : ISL.Server.Account.Account
getAllWorldStateVars ( int mapId ) : string>.Dictionary
getCharacter ( int id, ISL owner ) : ISL.Server.Account.Character
getCharacter ( string name ) : ISL.Server.Account.Character
getFloorItemsFromMap ( int mapId ) : List
getGuildList ( ) : List
getItemDatabaseVersion ( ) : uint
getQuestVar ( int id, string name ) : string
open ( ) : void
removeFloorItem ( int mapId, int itemId, int amount, int posX, int posY ) : void
removeGuild ( Guild guild ) : void
removeGuildMember ( int guildId, int memberId ) : void
setAccountLevel ( int id, int level ) : void
setMemberRights ( int guildId, int memberId, int rights ) : void
setOnlineStatus ( int charId, bool online ) : void
setPlayerLevel ( int id, int level ) : void
setQuestVar ( int id, string name, string value ) : void
setWorldStateVar ( string name, int mapId, string value ) : void
setWorldStateVar ( string name, string value ) : void
updateAttribute ( int charId, uint attrId, double @base, double mod ) : void
updateCharacter ( ISL.Server.Account.Character character ) : bool
updateCharacterPoints ( int charId, int charPoints, int corrPoints ) : void
updateExperience ( int charId, int skillId, int skillValue ) : void
updateLastLogin ( ISL account ) : void

비공개 메소드들

메소드 설명
ToDateTime ( string ticks ) : System.DateTime
close ( ) : void
delAccount ( ISL account ) : void
delCharacter ( ISL.Server.Account.Character character ) : void
delCharacter ( int charId ) : void
deletePost ( invertika_account.Chat.Letter letter ) : void
fixCharactersSlot ( int accountId ) : void
getAccountBySQL ( int accountID ) : ISL.Server.Account.Account
getCharacterBySQL ( ISL owner ) : ISL.Server.Account.Character
getStoredPost ( int playerId ) : invertika_account.Chat.Post
getTransactions ( System.DateTime date ) : List
getTransactions ( uint num ) : List
getWorldStateVar ( string name, int mapId ) : string
insertStatusEffect ( int charId, int statusId, int time ) : void
storeLetter ( invertika_account.Chat.Letter letter ) : void
syncDatabase ( ) : void
updateKillCount ( int charId, int monsterId, int kills ) : void

메소드 상세

Storage() 공개 메소드

public Storage ( ) : System
리턴 System

addAccount() 공개 메소드

public addAccount ( ISL account ) : void
account ISL
리턴 void

addFloorItem() 공개 메소드

public addFloorItem ( int mapId, int itemId, int amount, int posX, int posY ) : void
mapId int
itemId int
amount int
posX int
posY int
리턴 void

addGuild() 공개 메소드

public addGuild ( Guild guild ) : void
guild invertika_account.Chat.Guild
리턴 void

addGuildMember() 공개 메소드

public addGuildMember ( int guildId, int memberId ) : void
guildId int
memberId int
리턴 void

addTransaction() 공개 메소드

public addTransaction ( invertika_account.Common.Transaction trans ) : void
trans invertika_account.Common.Transaction
리턴 void

banCharacter() 공개 메소드

public banCharacter ( int id, int duration ) : void
id int
duration int
리턴 void

checkBannedAccounts() 공개 메소드

public checkBannedAccounts ( ) : void
리턴 void

doesCharacterNameExist() 공개 메소드

public doesCharacterNameExist ( string name ) : bool
name string
리턴 bool

doesEmailAddressExist() 공개 메소드

public doesEmailAddressExist ( string email ) : bool
email string
리턴 bool

doesUserNameExist() 공개 메소드

public doesUserNameExist ( string name ) : bool
name string
리턴 bool

flush() 공개 메소드

public flush ( ISL account ) : void
account ISL
리턴 void

getAccount() 공개 메소드

public getAccount ( int accountID ) : ISL.Server.Account.Account
accountID int
리턴 ISL.Server.Account.Account

getAccount() 공개 메소드

public getAccount ( string userName ) : ISL.Server.Account.Account
userName string
리턴 ISL.Server.Account.Account

getAllWorldStateVars() 공개 메소드

public getAllWorldStateVars ( int mapId ) : string>.Dictionary
mapId int
리턴 string>.Dictionary

getCharacter() 공개 메소드

public getCharacter ( int id, ISL owner ) : ISL.Server.Account.Character
id int
owner ISL
리턴 ISL.Server.Account.Character

getCharacter() 공개 메소드

public getCharacter ( string name ) : ISL.Server.Account.Character
name string
리턴 ISL.Server.Account.Character

getFloorItemsFromMap() 공개 메소드

public getFloorItemsFromMap ( int mapId ) : List
mapId int
리턴 List

getGuildList() 공개 메소드

public getGuildList ( ) : List
리턴 List

getItemDatabaseVersion() 공개 메소드

public getItemDatabaseVersion ( ) : uint
리턴 uint

getQuestVar() 공개 메소드

public getQuestVar ( int id, string name ) : string
id int
name string
리턴 string

open() 공개 메소드

public open ( ) : void
리턴 void

removeFloorItem() 공개 메소드

public removeFloorItem ( int mapId, int itemId, int amount, int posX, int posY ) : void
mapId int
itemId int
amount int
posX int
posY int
리턴 void

removeGuild() 공개 메소드

public removeGuild ( Guild guild ) : void
guild invertika_account.Chat.Guild
리턴 void

removeGuildMember() 공개 메소드

public removeGuildMember ( int guildId, int memberId ) : void
guildId int
memberId int
리턴 void

setAccountLevel() 공개 메소드

public setAccountLevel ( int id, int level ) : void
id int
level int
리턴 void

setMemberRights() 공개 메소드

public setMemberRights ( int guildId, int memberId, int rights ) : void
guildId int
memberId int
rights int
리턴 void

setOnlineStatus() 공개 메소드

public setOnlineStatus ( int charId, bool online ) : void
charId int
online bool
리턴 void

setPlayerLevel() 공개 메소드

public setPlayerLevel ( int id, int level ) : void
id int
level int
리턴 void

setQuestVar() 공개 메소드

public setQuestVar ( int id, string name, string value ) : void
id int
name string
value string
리턴 void

setWorldStateVar() 공개 메소드

public setWorldStateVar ( string name, int mapId, string value ) : void
name string
mapId int
value string
리턴 void

setWorldStateVar() 공개 메소드

public setWorldStateVar ( string name, string value ) : void
name string
value string
리턴 void

updateAttribute() 공개 메소드

public updateAttribute ( int charId, uint attrId, double @base, double mod ) : void
charId int
attrId uint
@base double
mod double
리턴 void

updateCharacter() 공개 메소드

public updateCharacter ( ISL.Server.Account.Character character ) : bool
character ISL.Server.Account.Character
리턴 bool

updateCharacterPoints() 공개 메소드

public updateCharacterPoints ( int charId, int charPoints, int corrPoints ) : void
charId int
charPoints int
corrPoints int
리턴 void

updateExperience() 공개 메소드

public updateExperience ( int charId, int skillId, int skillValue ) : void
charId int
skillId int
skillValue int
리턴 void

updateLastLogin() 공개 메소드

public updateLastLogin ( ISL account ) : void
account ISL
리턴 void