Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class XUID//Ripped from the sdk
- {
- public System.UInt64 Value { get; set; }
- public XUID(System.UInt64 _Value) { Value = _Value; }
- public XUID() { Value = 0; }
- public System.Boolean IsValid
- {
- get
- {
- return IsOffline != IsOnline;
- }
- }
- public System.Boolean IsGuest//Cant remember where i found this, not the sdk
- {//but need to get the extra bit requirments
- get
- {
- return (Value & 38562071809359872) == 38562071809359872;
- }
- //set
- //{
- // if (value != IsGuest)
- // {
- // Value ^= 38562071809359872;
- // }
- //}
- }
- public System.Boolean IsOffline
- {
- get
- {
- return (Value & 17293822569102704640) == 16140901064495857664;
- }
- set
- {
- if (value != IsOffline)
- {
- Value ^= 16140901064495857664;
- }
- }
- }
- public System.Boolean IsOnline
- {
- get
- {
- return (Value & 18446462598732840960) == 2533274790395904;
- }
- set
- {
- if (value != IsOnline)
- {
- Value ^= 2533274790395904;
- }
- }
- }
- public System.Boolean IsTeam
- {
- get
- {
- return (Value & 18374686479671624000) == 18302628885633696000;
- }
- set
- {
- if (value != IsTeam)
- {
- Value ^= 18302628885633696000;
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment