Add XuidString and GuidString to EFClient to allow easier interfacing with mods

This commit is contained in:
RaidMax 2020-08-31 12:03:06 -05:00
parent 2be719d8f9
commit bc7dc3a71a

View File

@ -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; }