C# Class RPGGame.GameServer.UserData.InvenCharacter

Afficher le fichier Open project: SyncZone/Examples Class Usage Examples

Méthodes publiques

Свойство Type Description
Items List

Méthodes publiques

Méthode 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 méthode

public AddCharacter ( Int32 characterId ) : Character
characterId System.Int32
Résultat Character

DeleteCharacter() public méthode

public DeleteCharacter ( Int32 characterNo ) : void
characterNo System.Int32
Résultat void

Find() public méthode

public Find ( Int32 characterNo ) : Character
characterNo System.Int32
Résultat Character

FindOrNull() public méthode

public FindOrNull ( Int32 characterNo ) : Character
characterNo System.Int32
Résultat Character

InvenCharacter() public méthode

public InvenCharacter ( GameUser user ) : System
user GameUser
Résultat System

LoadFromDB() public méthode

public LoadFromDB ( MySqlDataReader reader ) : void
reader MySqlDataReader
Résultat void

NextCharacterNo() public méthode

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

Property Details

Items public_oe property

public List Items
Résultat List