私聊相关协议

This commit is contained in:
2025-08-18 23:24:47 +08:00
parent 774fe07e3d
commit 268053d961
12 changed files with 509 additions and 511 deletions

View File

@@ -26,6 +26,8 @@ namespace NBC
Country = default;
Level = default;
Exp = default;
Vip = default;
VipInfo = default;
#if FANTASY_NET || FANTASY_UNITY
GetScene().MessagePoolComponent.Return<RoleBaseInfo>(this);
#endif
@@ -40,6 +42,10 @@ namespace NBC
public int Level { get; set; }
[ProtoMember(5)]
public int Exp { get; set; }
[ProtoMember(6)]
public bool Vip { get; set; }
[ProtoMember(7)]
public VipInfo VipInfo { get; set; }
}
[ProtoContract]
public partial class KeyValueStringInt64 : AMessage, IProto
@@ -159,6 +165,7 @@ namespace NBC
Head = default;
Country = default;
Level = default;
Vip = default;
#if FANTASY_NET || FANTASY_UNITY
GetScene().MessagePoolComponent.Return<RoleSimpleInfo>(this);
#endif
@@ -173,6 +180,8 @@ namespace NBC
public string Country { get; set; }
[ProtoMember(5)]
public int Level { get; set; }
[ProtoMember(6)]
public bool Vip { get; set; }
}
/// <summary>
/// VIP信息