Files
hjha-server/NetWorkMessage/Message/MessageData/Common/UserRegistrationMessage.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

46 lines
1.4 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System;
using MessagePack;
namespace GameMessage
{
[MessagePackObject]
public class UserRegistrationData
{
public const string UserIdName = nameof(UserId);
public const string InviteIdName = nameof(InviteId);
public const string RegisterChannelName = nameof(RegisterChannel);
public const string AccountTypeName = nameof(AccountType);
public const string RegisterTimeName = nameof(RegisterTime);
public const string RemarkName = nameof(Remark);
/// <summary>
/// 用户Id
/// </summary>
[Key(0)] public int UserId { get; set; }
/// <summary>
/// 邀请人
/// </summary>
[Key(1)] public string InviteId { get; set; }
/// <summary>
/// 注册平台 (PlatType)
/// </summary>
[Key(2)] public int RegisterChannel { get; set; }
/// <summary>
/// 账号类型 普通账号、微信、QQ、、、 (LoginType)
/// </summary>
[Key(3)] public int AccountType { get; set; }
/// <summary>
/// 注册时间
/// </summary>
[Key(4)] public DateTime RegisterTime { get; set; }
/// <summary>
/// 注册备注
/// </summary>
[Key(5)] public string Remark { get; set; }
}
}