44 lines
924 B
C#
44 lines
924 B
C#
using System;
|
|
using UnityEngine;
|
|
|
|
namespace Game
|
|
{
|
|
//主控玩家角色数据
|
|
public class S_ROLE_SELF : S_ROLE_DATA_BASE
|
|
{
|
|
public S_ROLE_ECON econ;//经济
|
|
|
|
public S_ROLE_MOVE move;
|
|
public S_ROLE_SELF()
|
|
{
|
|
RoleType = E_NODE_TYPE.N_MAINPLAYER;
|
|
move = new S_ROLE_MOVE();
|
|
econ = new S_ROLE_ECON();
|
|
}
|
|
|
|
override public void Init()
|
|
{
|
|
base.Init();
|
|
exp.Init();
|
|
move.Init();
|
|
econ.Init();
|
|
}
|
|
}
|
|
|
|
//主控玩家角色数据
|
|
public class S_ROLE_MONSTER : S_ROLE_DATA_BASE
|
|
{
|
|
public S_ROLE_MOVE move;
|
|
public S_ROLE_MONSTER()
|
|
{
|
|
RoleType = E_NODE_TYPE.N_MONSTER;
|
|
move = new S_ROLE_MOVE();
|
|
}
|
|
override public void Init()
|
|
{
|
|
base.Init();
|
|
exp.Init();
|
|
move.Init();
|
|
}
|
|
}
|
|
} |