C# Class RPGGame.GameServer.UserData.InvenCharacter

Datei anzeigen Open project: SyncZone/Examples Class Usage Examples

Public Properties

Property Type Description
Items List

Public Methods

Method Description
AddCharacter ( Int32 characterId ) : Character
DeleteCharacter ( Int32 characterNo ) : void
Find ( Int32 characterNo ) : Character
FindOrNull ( Int32 characterNo ) : Character
InvenCharacter ( GameUser user ) : System
LoadFromDB ( MySqlDataReader reader ) : void
NextCharacterNo ( ) : Int32

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

Method Details

AddCharacter() public method

public AddCharacter ( Int32 characterId ) : Character
characterId System.Int32
return Character

DeleteCharacter() public method

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

Find() public method

public Find ( Int32 characterNo ) : Character
characterNo System.Int32
return Character

FindOrNull() public method

public FindOrNull ( Int32 characterNo ) : Character
characterNo System.Int32
return Character

InvenCharacter() public method

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

LoadFromDB() public method

public LoadFromDB ( MySqlDataReader reader ) : void
reader MySqlDataReader
return void

NextCharacterNo() public method

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

Property Details

Items public_oe property

public List Items
return List