Add XuidString and GuidString to EFClient to allow easier interfacing with mods
This commit is contained in:
parent
2be719d8f9
commit
bc7dc3a71a
@ -656,6 +656,10 @@ namespace SharedLibraryCore.Database.Models
|
||||
public int Score { get; set; }
|
||||
[NotMapped]
|
||||
public bool IsBot => NetworkId == Name.GenerateGuidFromString();
|
||||
[NotMapped]
|
||||
public string XuidString => (NetworkId + 0x110000100000000).ToString("x");
|
||||
[NotMapped]
|
||||
public string GuidString => NetworkId.ToString("x");
|
||||
|
||||
[NotMapped]
|
||||
public ClientState State { get; set; }
|
||||
|
Loading…
Reference in New Issue
Block a user