缓存模块
This commit is contained in:
@@ -34,6 +34,8 @@ namespace Fantasy
|
||||
Country = default;
|
||||
Level = default;
|
||||
Exp = default;
|
||||
Vip = default;
|
||||
VipInfo = default;
|
||||
#if FANTASY_NET || FANTASY_UNITY
|
||||
GetScene().MessagePoolComponent.Return<RoleBaseInfo>(this);
|
||||
#endif
|
||||
@@ -48,6 +50,10 @@ namespace Fantasy
|
||||
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
|
||||
@@ -167,6 +173,7 @@ namespace Fantasy
|
||||
Head = default;
|
||||
Country = default;
|
||||
Level = default;
|
||||
Vip = default;
|
||||
#if FANTASY_NET || FANTASY_UNITY
|
||||
GetScene().MessagePoolComponent.Return<RoleSimpleInfo>(this);
|
||||
#endif
|
||||
@@ -181,6 +188,8 @@ namespace Fantasy
|
||||
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