Files
hjha-server/Config/Code/PrizeWheelConfig.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

57 lines
1.4 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 PrizeWheelConfig : Luban.BeanBase
{
public PrizeWheelConfig(ByteBuf _buf)
{
Id = _buf.ReadInt();
Reward = ResData.DeserializeResData(_buf);
Weight = _buf.ReadInt();
}
public static PrizeWheelConfig DeserializePrizeWheelConfig(ByteBuf _buf)
{
return new PrizeWheelConfig(_buf);
}
/// <summary>
/// 资源ID(大于100000一定是道具)
/// </summary>
public readonly int Id;
/// <summary>
/// 资源名称
/// </summary>
public readonly ResData Reward;
/// <summary>
/// 权重
/// </summary>
public readonly int Weight;
public const int __ID__ = -185314517;
public override int GetTypeId() => __ID__;
public override string ToString()
{
return "{ "
+ "id:" + Id + ","
+ "reward:" + Reward + ","
+ "weight:" + Weight + ","
+ "}";
}
}
}