|
|
|
@ -19,7 +19,7 @@ namespace ET
|
|
|
|
|
public int Exp; |
|
|
|
|
public int Level; |
|
|
|
|
public int Age; |
|
|
|
|
|
|
|
|
|
public int BehaveType; |
|
|
|
|
public long TargetId; |
|
|
|
|
public int CurrSkillId; |
|
|
|
|
public float PosX; |
|
|
|
@ -31,20 +31,7 @@ namespace ET
|
|
|
|
|
public int Wisdom; //智慧 |
|
|
|
|
public int MoveSpeed; //移动速度 |
|
|
|
|
|
|
|
|
|
public int BehaveType |
|
|
|
|
{ |
|
|
|
|
set |
|
|
|
|
{ |
|
|
|
|
this.BehaveType = value; |
|
|
|
|
#if !SERVER |
|
|
|
|
Game.EventSystem.Publish(new EventType.BehaveTypeChanged() { People = this }); |
|
|
|
|
#endif |
|
|
|
|
} |
|
|
|
|
get |
|
|
|
|
{ |
|
|
|
|
return this.BehaveType; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[BsonIgnore] |
|
|
|
|
public RoleConfig Config => RoleConfigCategory.Instance.Get(this.ConfigId); |
|
|
|
|