|
|
@ -37,20 +37,20 @@ public: |
|
|
|
Set(0); |
|
|
|
Set(0); |
|
|
|
return 0; |
|
|
|
return 0; |
|
|
|
} |
|
|
|
} |
|
|
|
operator int () |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
return Get() != NULL; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bool operator !=(EHBasePlayerItem &other) |
|
|
|
bool operator !=(EHBasePlayerItem &other) |
|
|
|
{ |
|
|
|
{ |
|
|
|
return Get() != other.Get(); |
|
|
|
return Get() != other.Get(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
bool operator !=(my_nullptr_t &null) |
|
|
|
bool operator !=(my_nullptr_t &null1) |
|
|
|
{ |
|
|
|
{ |
|
|
|
return Get() != (edict_t*)0; |
|
|
|
return Get() != (edict_t*)0; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
bool operator !=(int null1) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
return Get() != (edict_t*)null1; |
|
|
|
|
|
|
|
} |
|
|
|
}; |
|
|
|
}; |
|
|
|
#else |
|
|
|
#else |
|
|
|
#define EHBasePlayerItem CBasePlayerItem* |
|
|
|
#define EHBasePlayerItem CBasePlayerItem* |
|
|
|