替换玩家模型素材,添加 ChildrenMap 配置挂点
This commit is contained in:
@@ -17,6 +17,7 @@ public sealed partial class LevelExperienceConfig : Luban.BeanBase
|
||||
public LevelExperienceConfig(ByteBuf _buf)
|
||||
{
|
||||
Key = _buf.ReadString();
|
||||
Key_Ref = null;
|
||||
Lv0 = _buf.ReadInt();
|
||||
Lv1 = _buf.ReadInt();
|
||||
Lv2 = _buf.ReadInt();
|
||||
@@ -89,6 +90,7 @@ public sealed partial class LevelExperienceConfig : Luban.BeanBase
|
||||
/// 角色名
|
||||
/// </summary>
|
||||
public readonly string Key;
|
||||
public RoleConfig Key_Ref;
|
||||
public readonly int Lv0;
|
||||
public readonly int Lv1;
|
||||
public readonly int Lv2;
|
||||
@@ -156,7 +158,7 @@ public sealed partial class LevelExperienceConfig : Luban.BeanBase
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
Key_Ref = tables.TbRoleConfig.GetOrDefault(Key);
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user