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
37 lines
868 B
C#
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;
|
|
}
|
|
}
|
|
} |