Add ProtoMember attrs to TickDisplaySettings props
This commit is contained in:
1 parent
59c5fd1256
commit
a7372fdcf6
1 file changed
+17
-6
@@ -16,12 +16,23 @@ namespace mbts.user.settings {
|
||||
show_zero_integer = true
|
||||
};
|
||||
|
||||
public bool pad_with_leading_zeros { get; set; } = true;
|
||||
public double display_multiplier { get; set; } = double.NaN;
|
||||
public bool show_commas { get; set; } = false;
|
||||
public string nan_text { get; set; } = "-";
|
||||
public bool show_decimal_part { get; set; } = true;
|
||||
public bool show_zero_integer { get; set; } = true;
|
||||
[ProtoMember(1)]
|
||||
public bool pad_with_leading_zeros { get; set; }
|
||||
|
||||
[ProtoMember(2)]
|
||||
public double display_multiplier { get; set; }
|
||||
|
||||
[ProtoMember(3)]
|
||||
public bool show_commas { get; set; }
|
||||
|
||||
[ProtoMember(4)]
|
||||
public string nan_text { get; set; }
|
||||
|
||||
[ProtoMember(5)]
|
||||
public bool show_decimal_part { get; set; }
|
||||
|
||||
[ProtoMember(6)]
|
||||
public bool show_zero_integer { get; set; }
|
||||
|
||||
public TickDisplaySettings Clone() =>
|
||||
new() {
|
||||
|
||||
Reference in new issue
Block a user