C# 클래스 RPGGame.GameServer.UserData.Resource

파일 보기 프로젝트 열기: SyncZone/Examples 1 사용 예제들

공개 메소드들

메소드 설명
AddResource ( Int32 resourceId, Int32 point ) : Data
FirstSupply ( ) : void

초기지급 리소스 설정

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

메소드 상세

AddResource() 공개 메소드

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

FirstSupply() 공개 메소드

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

LoadFromDB() 공개 메소드

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

Resource() 공개 메소드

public Resource ( GameUser user ) : System
user GameUser
리턴 System

UpdateToDB() 공개 메소드

public UpdateToDB ( ) : void
리턴 void

this() 공개 메소드

public this ( Int32 resourceId ) : Int32
resourceId System.Int32
리턴 System.Int32