调整部分数据表配置,优化 SpriteCache 功能
This commit is contained in:
@@ -16,7 +16,7 @@ public sealed partial class GlobalConfig : Luban.BeanBase
|
||||
{
|
||||
public GlobalConfig(ByteBuf _buf)
|
||||
{
|
||||
ElapsedTime = _buf.ReadInt();
|
||||
WeaponCapacity = _buf.ReadInt();
|
||||
}
|
||||
|
||||
public static GlobalConfig DeserializeGlobalConfig(ByteBuf _buf)
|
||||
@@ -24,7 +24,10 @@ public sealed partial class GlobalConfig : Luban.BeanBase
|
||||
return new GlobalConfig(_buf);
|
||||
}
|
||||
|
||||
public readonly int ElapsedTime;
|
||||
/// <summary>
|
||||
/// 最大持有武器数量
|
||||
/// </summary>
|
||||
public readonly int WeaponCapacity;
|
||||
|
||||
public const int __ID__ = -958250779;
|
||||
public override int GetTypeId() => __ID__;
|
||||
@@ -37,7 +40,7 @@ public sealed partial class GlobalConfig : Luban.BeanBase
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "elapsedTime:" + ElapsedTime + ","
|
||||
+ "weaponCapacity:" + WeaponCapacity + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user