C# Class TDSM.Core.ServerCharacters.Tables.ItemTable

Mostra file Open project: DeathCradle/Terraria-s-Dedicated-Server-Mod Class Usage Examples

Public Properties

Property Type Description
Columns TableColumn[]

Public Methods

Method Description
Create ( ) : bool
Exists ( ) : bool
GetItem ( CharacterManager type, int slot, int characterId = null ) : int
GetItemsForCharacter ( CharacterManager type, int characterId = null ) : TDSM.Core.ServerCharacters.SlotItem[]
NewItem ( CharacterManager type, int netId, int stack, int prefix, bool favorite, int slot, int characterId = null ) : int
UpdateItem ( CharacterManager type, int netId, int prefix, int stack, bool favorite, int slot, int characterId = null ) : bool

Method Details

Create() public static method

public static Create ( ) : bool
return bool

Exists() public static method

public static Exists ( ) : bool
return bool

GetItem() public static method

public static GetItem ( CharacterManager type, int slot, int characterId = null ) : int
type TDSM.Core.ServerCharacters.CharacterManager
slot int
characterId int
return int

GetItemsForCharacter() public static method

public static GetItemsForCharacter ( CharacterManager type, int characterId = null ) : TDSM.Core.ServerCharacters.SlotItem[]
type TDSM.Core.ServerCharacters.CharacterManager
characterId int
return TDSM.Core.ServerCharacters.SlotItem[]

NewItem() public static method

public static NewItem ( CharacterManager type, int netId, int stack, int prefix, bool favorite, int slot, int characterId = null ) : int
type TDSM.Core.ServerCharacters.CharacterManager
netId int
stack int
prefix int
favorite bool
slot int
characterId int
return int

UpdateItem() public static method

public static UpdateItem ( CharacterManager type, int netId, int prefix, int stack, bool favorite, int slot, int characterId = null ) : bool
type TDSM.Core.ServerCharacters.CharacterManager
netId int
prefix int
stack int
favorite bool
slot int
characterId int
return bool

Property Details

Columns public_oe static_oe property

public static TableColumn[] Columns
return TableColumn[]