C# Class RPGGame.GameServer.UserData.InvenItem

Show file Open project: SyncZone/Examples Class Usage Examples

Public Properties

Property Type Description
Items List

Public Methods

Method Description
AddCharacter ( Int32 itemId ) : Item
DeleteCharacter ( Int32 itemNo ) : void
Find ( Int32 itemNo ) : Item
InvenItem ( GameUser user ) : System
LoadFromDB ( MySqlDataReader reader ) : void
NextCharacterNo ( ) : Int32

새로운 ItemNo를 생성합니다. 유저는 최대 1000개의 캐릭터를 보유할 수 있습니다.

Method Details

AddCharacter() public method

public AddCharacter ( Int32 itemId ) : Item
itemId System.Int32
return Item

DeleteCharacter() public method

public DeleteCharacter ( Int32 itemNo ) : void
itemNo System.Int32
return void

Find() public method

public Find ( Int32 itemNo ) : Item
itemNo System.Int32
return Item

InvenItem() public method

public InvenItem ( GameUser user ) : System
user GameUser
return System

LoadFromDB() public method

public LoadFromDB ( MySqlDataReader reader ) : void
reader MySql.Data.MySqlClient.MySqlDataReader
return void

NextCharacterNo() public method

새로운 ItemNo를 생성합니다. 유저는 최대 1000개의 캐릭터를 보유할 수 있습니다.
public NextCharacterNo ( ) : Int32
return System.Int32

Property Details

Items public property

public List Items
return List