C# Class RPGGame.GameServer.UserData.Resource

Mostrar archivo Open project: SyncZone/Examples Class Usage Examples

Public Methods

Method 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 method

public AddResource ( Int32 resourceId, Int32 point ) : Data
resourceId System.Int32
point System.Int32
return Data

FirstSupply() public method

초기지급 리소스 설정
public FirstSupply ( ) : void
return void

LoadFromDB() public method

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

Resource() public method

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

UpdateToDB() public method

public UpdateToDB ( ) : void
return void

this() public method

public this ( Int32 resourceId ) : Int32
resourceId System.Int32
return System.Int32