40 lines
940 B
C#
40 lines
940 B
C#
namespace Game
|
|
{
|
|
//玩家角色数据
|
|
public class S_ROLE_BASE
|
|
{
|
|
//玩家数据
|
|
public S_ROLE_INNATE innate;//先天属性
|
|
public S_ROLE_STATUS status;//状态
|
|
public S_ROLE_LIFE life;//生命
|
|
public S_ROLE_EXP exp;//经验
|
|
public S_ROLE_BATTLEATTR_1ST battleattr1st;//1级战斗属性
|
|
public S_ROLE_BATTLEATTR battleattr;
|
|
|
|
public bool isEntryWorld;
|
|
|
|
public S_ROLE_BASE()
|
|
{
|
|
innate = new S_ROLE_INNATE();
|
|
status = new S_ROLE_STATUS();
|
|
life = new S_ROLE_LIFE();
|
|
exp = new S_ROLE_EXP();
|
|
|
|
battleattr1st = new S_ROLE_BATTLEATTR_1ST();
|
|
battleattr = new S_ROLE_BATTLEATTR();
|
|
|
|
isEntryWorld = false;
|
|
}
|
|
|
|
virtual public void Init()
|
|
{
|
|
status.Init();
|
|
life.Init();
|
|
exp.Init();
|
|
|
|
battleattr1st.Init();
|
|
}
|
|
}
|
|
}
|
|
|