Files
hjha-server/ObjectModel/Club/FieldChangeLog.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

37 lines
868 B
C#

using System;
namespace ObjectModel.Club
{
public static class FieldChangeType
{
public const int None = 0; // 没有执行任何操作
public const int AddOrSub = 1; // 更新
public const int Set = 2; // 设置
}
[Serializable]
public class FieldChangeLog
{
/// <summary>
/// 变更类型
/// </summary>
public int ChangeType;
/// <summary>
/// 字段名称
/// </summary>
public string FieldName;
/// <summary>
/// 变更值
/// </summary>
public string Value;
public FieldChangeLog(int changeType, string fieldName, string value)
{
ChangeType = changeType;
FieldName = fieldName;
Value = value;
}
}
}