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:
74
Config/Code/RabbitConfig.cs
Normal file
74
Config/Code/RabbitConfig.cs
Normal file
@ -0,0 +1,74 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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 RabbitConfig : Luban.BeanBase
|
||||
{
|
||||
public RabbitConfig(ByteBuf _buf)
|
||||
{
|
||||
Id = _buf.ReadInt();
|
||||
Port = _buf.ReadInt();
|
||||
Host = _buf.ReadString();
|
||||
UserName = _buf.ReadString();
|
||||
Pwd = _buf.ReadString();
|
||||
Vhost = _buf.ReadString();
|
||||
}
|
||||
|
||||
public static RabbitConfig DeserializeRabbitConfig(ByteBuf _buf)
|
||||
{
|
||||
return new RabbitConfig(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// id
|
||||
/// </summary>
|
||||
public readonly int Id;
|
||||
/// <summary>
|
||||
/// 端口
|
||||
/// </summary>
|
||||
public readonly int Port;
|
||||
/// <summary>
|
||||
/// 地址
|
||||
/// </summary>
|
||||
public readonly string Host;
|
||||
/// <summary>
|
||||
/// 用户名
|
||||
/// </summary>
|
||||
public readonly string UserName;
|
||||
/// <summary>
|
||||
/// 密码
|
||||
/// </summary>
|
||||
public readonly string Pwd;
|
||||
/// <summary>
|
||||
/// 项目名
|
||||
/// </summary>
|
||||
public readonly string Vhost;
|
||||
|
||||
public const int __ID__ = 875638812;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "id:" + Id + ","
|
||||
+ "port:" + Port + ","
|
||||
+ "host:" + Host + ","
|
||||
+ "userName:" + UserName + ","
|
||||
+ "pwd:" + Pwd + ","
|
||||
+ "vhost:" + Vhost + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user