私聊相关协议
This commit is contained in:
@@ -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信息
|
||||
|
||||
Reference in New Issue
Block a user