C# Class RPGGame.GameServer.UserData.Resource

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

Méthodes publiques

Méthode Description
AddResource ( Int32 resourceId, Int32 point ) : Data
FirstSupply ( ) : void

초기지급 리소스 설정

LoadFromDB ( MySqlDataReader reader ) : void
Resource ( GameUser user ) : System
UpdateToDB ( ) : void
this ( Int32 resourceId ) : Int32

Method Details

AddResource() public méthode

public AddResource ( Int32 resourceId, Int32 point ) : Data
resourceId System.Int32
point System.Int32
Résultat Data

FirstSupply() public méthode

초기지급 리소스 설정
public FirstSupply ( ) : void
Résultat void

LoadFromDB() public méthode

public LoadFromDB ( MySqlDataReader reader ) : void
reader MySql.Data.MySqlClient.MySqlDataReader
Résultat void

Resource() public méthode

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

UpdateToDB() public méthode

public UpdateToDB ( ) : void
Résultat void

this() public méthode

public this ( Int32 resourceId ) : Int32
resourceId System.Int32
Résultat System.Int32