@@ -39,14 +39,29 @@ public struct ReadOnlyPlayer : IPlayer, IDisposable
3939 public bool Exists => false ;
4040 public BaseObjectType Type => BaseObjectType . Player ;
4141
42- public ushort MaxHealth { get ; set ; }
43- public ushort MaxArmor { get ; set ; }
44- public uint CurrentWeapon { get ; set ; }
45- public IntPtr entityAimingAt ;
46- public byte entityAimingAtEntityType ;
47- public Position EntityAimOffset { get ; }
48- public bool IsFlashlightActive { get ; }
49- public string Ip { get ; }
42+ //TODO: implement in struct
43+ public ushort MaxHealth
44+ {
45+ get => 0 ;
46+ set { }
47+ }
48+
49+ public ushort MaxArmor
50+ {
51+ get => 0 ;
52+ set { }
53+ }
54+
55+ public uint CurrentWeapon
56+ {
57+ get => 0 ;
58+ set { }
59+ }
60+ public IntPtr entityAimingAt => IntPtr . Zero ;
61+ public byte entityAimingAtEntityType => 0 ;
62+ public Position EntityAimOffset => new Position ( ) ;
63+ public bool IsFlashlightActive => false ;
64+ public string Ip => "0.0.0.0" ;
5065
5166 public IEntity EntityAimingAt
5267 {
@@ -58,6 +73,11 @@ public IEntity EntityAimingAt
5873 }
5974 }
6075
76+ public ulong SocialClubId { get ; }
77+ public ulong HardwareIdHash { get ; }
78+ public ulong HardwareIdExHash { get ; }
79+ public string AuthToken { get ; }
80+
6181 public void SetMetaData ( string key , object value )
6282 {
6383 throw new NotImplementedException ( ) ;
0 commit comments