mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-13 17:24:16 +01:00
fuck character states
This commit is contained in:
parent
3bba240cd5
commit
71ced4dc88
9 changed files with 137 additions and 38 deletions
|
|
@ -24,15 +24,23 @@ public class CachedPlayer
|
|||
}
|
||||
}
|
||||
|
||||
public int? JobId { get; set; }
|
||||
public string OriginalGlamourerData { get; set; }
|
||||
public string LastGlamourerData { get; set; }
|
||||
public int? JobId => (int?)PlayerCharacter?.ClassJob.Id;
|
||||
public PlayerCharacter? PlayerCharacter { get; set; }
|
||||
public string? PlayerName { get; set; }
|
||||
public string PlayerNameHash { get; }
|
||||
public bool WasVisible { get; private set; }
|
||||
public int RequestedRedraws
|
||||
{
|
||||
get => _requestedRedraws;
|
||||
set => _requestedRedraws = value < 0 ? 0 : value;
|
||||
}
|
||||
|
||||
private int _requestedRedraws;
|
||||
public void Reset()
|
||||
{
|
||||
PlayerName = string.Empty;
|
||||
JobId = null;
|
||||
PlayerCharacter = null;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue