1
0
mirror of synced 2024-11-27 23:50:49 +01:00
GC-local-server-rewrite/SharedProject/models/Avatar.cs
jiych1 14261c8e29 Change avatar/navigator/title select method
Add the function to change player name
2022-07-07 21:46:17 +08:00

32 lines
669 B
C#

using ProtoBuf;
namespace SharedProject.models;
[ProtoContract]
public class Avatar
{
[ProtoMember(1)]
public uint Id { get; set; }
[ProtoMember(2)]
public string? IdString { get; set; }
[ProtoMember(3)]
public string? FullName { get; set; }
[ProtoMember(4)]
public string? Name { get; set; }
[ProtoMember(5)]
public string? Variant { get; set; }
[ProtoMember(6)]
public string? AcquireMethodJp { get; set; }
[ProtoMember(7)]
public string? AcquireMethodEn { get; set; }
public override string ToString() {
return $"{Id}: {FullName}, {AcquireMethodEn}";
}
}