C# Class RPGGame.GameServer.UserData.Energy

显示文件 Open project: SyncZone/Examples Class Usage Examples

Public Properties

Property Type Description
Items List

Public Methods

Method Description
Energy ( GameUser user ) : System
FirstSupply ( ) : void

초기지급 에너지 설정

LoadFromDB ( MySqlDataReader reader ) : void
RecoveryByLevelUp ( ) : void

플레이어의 현재 레벨에 따라 에너지 회복

UpdateToDB ( ) : void
this ( Int32 energyId ) : Data

Method Details

Energy() public method

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

FirstSupply() public method

초기지급 에너지 설정
public FirstSupply ( ) : void
return void

LoadFromDB() public method

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

RecoveryByLevelUp() public method

플레이어의 현재 레벨에 따라 에너지 회복
public RecoveryByLevelUp ( ) : void
return void

UpdateToDB() public method

public UpdateToDB ( ) : void
return void

this() public method

public this ( Int32 energyId ) : Data
energyId System.Int32
return Data

Property Details

Items public_oe property

public List Items
return List