diff options
| author | Michael <[email protected]> | 2017-04-09 10:00:16 -0400 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-04-09 10:00:16 -0400 |
| commit | d7ac3bb7e68906de70ceff3428084a05312fb56d (patch) | |
| tree | cfc62fd78b81ae3c49cf9b9961dd675358a45dbe /ShiftOS.Objects/Save.cs | |
| parent | 70557ebe5dd72d95dc06eb4c628733054e58a7d1 (diff) | |
| download | shiftos_thereturn-d7ac3bb7e68906de70ceff3428084a05312fb56d.tar.gz shiftos_thereturn-d7ac3bb7e68906de70ceff3428084a05312fb56d.tar.bz2 shiftos_thereturn-d7ac3bb7e68906de70ceff3428084a05312fb56d.zip | |
Reputation work.
Diffstat (limited to 'ShiftOS.Objects/Save.cs')
| -rw-r--r-- | ShiftOS.Objects/Save.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ShiftOS.Objects/Save.cs b/ShiftOS.Objects/Save.cs index d5faa78..ef512eb 100644 --- a/ShiftOS.Objects/Save.cs +++ b/ShiftOS.Objects/Save.cs @@ -47,6 +47,17 @@ namespace ShiftOS.Objects public bool IsPatreon { get; set; } + public UserClass Class { get; set; } + public double RawReputation { get; set; } + + public Reputation Reputation + { + get + { + return (Reputation)((int)Math.Round(RawReputation)); + } + } + public string Password { get; set; } public bool PasswordHashed { get; set; } public string SystemName { get; set; } |
