Files
hjha-server/Config/Code/SignConfig.cs
xiaoou e9616125ce feat: initial commit - HJHA game server full source
6 major server modules (PdkFriendServer/GlobalSever/ServerCore/GameModule/GameNetModule) +
game logic (GameFix/GameDAL/ServerData) +
network layer (NetWorkMessage) +
data layer (ObjectModel) +
utilities (MrWu/Core/Config/CloudAPI/dll) +
adapters (zyxAdapter/base)

.NET 8.0 C# solution, 16 projects, 958 source files
2026-07-07 12:02:15 +08:00

63 lines
1.7 KiB
C#

//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using Luban;
namespace Server.Config
{
public sealed partial class SignConfig : Luban.BeanBase
{
public SignConfig(ByteBuf _buf)
{
Id = _buf.ReadInt();
{int __n0 = System.Math.Min(_buf.ReadSize(), _buf.Size);SignData = new ResData[__n0];for(var __index0 = 0 ; __index0 < __n0 ; __index0++) { ResData __e0;__e0 = ResData.DeserializeResData(_buf); SignData[__index0] = __e0;}}
DataType = _buf.ReadInt();
RewardDay = _buf.ReadInt();
}
public static SignConfig DeserializeSignConfig(ByteBuf _buf)
{
return new SignConfig(_buf);
}
/// <summary>
/// 签到数据
/// </summary>
public readonly int Id;
/// <summary>
/// 资源名称
/// </summary>
public readonly ResData[] SignData;
/// <summary>
/// 1 签到<br/>2 礼包
/// </summary>
public readonly int DataType;
/// <summary>
/// 连续签到天数
/// </summary>
public readonly int RewardDay;
public const int __ID__ = 51128191;
public override int GetTypeId() => __ID__;
public override string ToString()
{
return "{ "
+ "id:" + Id + ","
+ "signData:" + Luban.StringUtil.CollectionToString(SignData) + ","
+ "dataType:" + DataType + ","
+ "rewardDay:" + RewardDay + ","
+ "}";
}
}
}