C# 클래스 Terraria.Plugins.CoderCow.Protector.ServerMetadataHandler

상속: Terraria.Plugins.Common.DatabaseHandlerBase
파일 보기 프로젝트 열기: CoderCow/Protector-Plugin 1 사용 예제들

공개 메소드들

메소드 설명
EnqueueAddOrUpdateBankChest ( Terraria.Plugins.CoderCow.Protector.BankChestDataKey key, Terraria.Plugins.CoderCow.Protector.BankChestMetadata bankChest ) : System.Threading.Tasks.Task
EnqueueDeleteBankChestsOfUser ( int userId ) : System.Threading.Tasks.Task
EnqueueGetBankChestCount ( ) : Task
EnqueueGetBankChestMetadata ( Terraria.Plugins.CoderCow.Protector.BankChestDataKey key ) : Task
EnqueueUpdateBankChestItem ( Terraria.Plugins.CoderCow.Protector.BankChestDataKey key, int slotIndex, Terraria.Plugins.Common.ItemData newItem ) : System.Threading.Tasks.Task
EnsureDataStructure ( ) : void
ServerMetadataHandler ( string sqliteFilePath ) : System

보호된 메소드들

메소드 설명
Dispose ( bool isDisposing ) : void
ItemMetadataToString ( IEnumerable items ) : string
StringToItemMetadata ( string raw ) : Terraria.Plugins.Common.ItemData[]

비공개 메소드들

메소드 설명
AddOrUpdateBankChest ( Terraria.Plugins.CoderCow.Protector.BankChestDataKey key, Terraria.Plugins.CoderCow.Protector.BankChestMetadata bankChest ) : void
DeleteBankChestsOfUser ( int userId ) : void
GetBankChestCount ( ) : int
GetBankChestMetadata ( Terraria.Plugins.CoderCow.Protector.BankChestDataKey key ) : Terraria.Plugins.CoderCow.Protector.BankChestMetadata
UpdateBankChestItem ( Terraria.Plugins.CoderCow.Protector.BankChestDataKey key, int slotIndex, Terraria.Plugins.Common.ItemData newItem ) : void

메소드 상세

Dispose() 보호된 메소드

protected Dispose ( bool isDisposing ) : void
isDisposing bool
리턴 void

EnqueueAddOrUpdateBankChest() 공개 메소드

public EnqueueAddOrUpdateBankChest ( Terraria.Plugins.CoderCow.Protector.BankChestDataKey key, Terraria.Plugins.CoderCow.Protector.BankChestMetadata bankChest ) : System.Threading.Tasks.Task
key Terraria.Plugins.CoderCow.Protector.BankChestDataKey
bankChest Terraria.Plugins.CoderCow.Protector.BankChestMetadata
리턴 System.Threading.Tasks.Task

EnqueueDeleteBankChestsOfUser() 공개 메소드

public EnqueueDeleteBankChestsOfUser ( int userId ) : System.Threading.Tasks.Task
userId int
리턴 System.Threading.Tasks.Task

EnqueueGetBankChestCount() 공개 메소드

public EnqueueGetBankChestCount ( ) : Task
리턴 Task

EnqueueGetBankChestMetadata() 공개 메소드

public EnqueueGetBankChestMetadata ( Terraria.Plugins.CoderCow.Protector.BankChestDataKey key ) : Task
key Terraria.Plugins.CoderCow.Protector.BankChestDataKey
리턴 Task

EnqueueUpdateBankChestItem() 공개 메소드

public EnqueueUpdateBankChestItem ( Terraria.Plugins.CoderCow.Protector.BankChestDataKey key, int slotIndex, Terraria.Plugins.Common.ItemData newItem ) : System.Threading.Tasks.Task
key Terraria.Plugins.CoderCow.Protector.BankChestDataKey
slotIndex int
newItem Terraria.Plugins.Common.ItemData
리턴 System.Threading.Tasks.Task

EnsureDataStructure() 공개 메소드

public EnsureDataStructure ( ) : void
리턴 void

ItemMetadataToString() 보호된 메소드

protected ItemMetadataToString ( IEnumerable items ) : string
items IEnumerable
리턴 string

ServerMetadataHandler() 공개 메소드

public ServerMetadataHandler ( string sqliteFilePath ) : System
sqliteFilePath string
리턴 System

StringToItemMetadata() 보호된 메소드

protected StringToItemMetadata ( string raw ) : Terraria.Plugins.Common.ItemData[]
raw string
리턴 Terraria.Plugins.Common.ItemData[]