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
24 lines
555 B
C#
24 lines
555 B
C#
using MessagePack;
|
|
|
|
namespace GameMessage
|
|
{
|
|
/// <summary>
|
|
/// 分页的数据
|
|
/// </summary>
|
|
[MessagePackObject]
|
|
public class DataPage
|
|
{
|
|
[IgnoreMember]
|
|
public static DataPage Default => new DataPage { PageId = 1, PageSize = 20 };
|
|
|
|
/// <summary>
|
|
/// 第几页 (从1开始)
|
|
/// </summary>
|
|
[Key(0)]public int PageId = 1;
|
|
|
|
/// <summary>
|
|
/// 一页的数量
|
|
/// </summary>
|
|
[Key(1)]public int PageSize = 20;
|
|
}
|
|
} |