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
This commit is contained in:
50
Config/Code/GZGameConfig.cs
Normal file
50
Config/Code/GZGameConfig.cs
Normal file
@ -0,0 +1,50 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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 GZGameConfig : Luban.BeanBase
|
||||
{
|
||||
public GZGameConfig(ByteBuf _buf)
|
||||
{
|
||||
Id = _buf.ReadInt();
|
||||
Value = _buf.ReadByte();
|
||||
}
|
||||
|
||||
public static GZGameConfig DeserializeGZGameConfig(ByteBuf _buf)
|
||||
{
|
||||
return new GZGameConfig(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// id
|
||||
/// </summary>
|
||||
public readonly int Id;
|
||||
/// <summary>
|
||||
/// 配置值
|
||||
/// </summary>
|
||||
public readonly byte Value;
|
||||
|
||||
public const int __ID__ = -78508249;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "id:" + Id + ","
|
||||
+ "value:" + Value + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user