C# Class GameFramework.UserInfo

Exibir arquivo Open project: dreamanlan/CSharpGameFramework Class Usage Examples

Private Properties

Property Type Description
CheckLevelup bool
DecreaseGold void
DecreaseMoney void
IncreaseGold void
IncreaseMoney void
OnFieldUpdated void
OnForeignKeyUpdated void
OnPrimaryKeyUpdated void
Reset void
ResetGold void
ResetMoney void
SetGoldForDB void
SetMoneyForDB void
UpdateForeignKeys void
UpdatePrimaryKeys void
UserInfo System

Public Methods

Method Description
FromProto ( TableUserInfo proto ) : void
ToProto ( ) : TableUserInfo

Private Methods

Method Description
CheckLevelup ( ) : bool
DecreaseGold ( int gold ) : void
DecreaseMoney ( int money ) : void
IncreaseGold ( int gold ) : void
IncreaseMoney ( int money ) : void
OnFieldUpdated ( ) : void
OnForeignKeyUpdated ( ) : void
OnPrimaryKeyUpdated ( ) : void
Reset ( ) : void
ResetGold ( ) : void
ResetMoney ( ) : void
SetGoldForDB ( int gold ) : void
SetMoneyForDB ( int money ) : void
UpdateForeignKeys ( ) : void
UpdatePrimaryKeys ( ) : void
UserInfo ( ) : System

Method Details

FromProto() public method

public FromProto ( TableUserInfo proto ) : void
proto TableUserInfo
return void

ToProto() public method

public ToProto ( ) : TableUserInfo
return TableUserInfo