Ptr
More...
Inherits IEquatable< Ptr >, and INetworkStruct.
◆ Equals() [1/2]
override bool Equals |
( |
object |
obj | ) |
|
Check Ptr equality
- Parameters
-
- Returns
- True if obj is a Ptr and points to the same Address
◆ Equals() [2/2]
Check Ptr equality
- Parameters
-
- Returns
- True if points to the same Address
◆ GetHashCode()
override int GetHashCode |
( |
| ) |
|
◆ operator bool()
static implicit operator bool |
( |
Ptr |
a | ) |
|
|
static |
Implicit Bool Operator Check if Address is not 0
- Parameters
-
- Returns
- True if Address is not 0
◆ operator!=()
static bool operator!= |
( |
Ptr |
a, |
|
|
Ptr |
b |
|
) |
| |
|
static |
Implicit Ptr Not Equals Operator
- Parameters
-
- Returns
- True if Address is not the same
◆ operator+()
static Ptr operator+ |
( |
Ptr |
p, |
|
|
int |
v |
|
) |
| |
|
static |
Implicit Ptr Sum Operator
- Parameters
-
p | Ptr to add to |
v | Value to add |
- Returns
- Ptr with Address increased by v
◆ operator-()
static Ptr operator- |
( |
Ptr |
p, |
|
|
int |
v |
|
) |
| |
|
static |
Implicit Ptr Subtraction Operator
- Parameters
-
p | Ptr to subtract from |
v | Value to subtract |
- Returns
- Ptr with Address decreased by v
◆ operator==()
static bool operator== |
( |
Ptr |
a, |
|
|
Ptr |
b |
|
) |
| |
|
static |
Implicit Ptr Equals Operator
- Parameters
-
- Returns
- True if Address is the same
◆ ToString()
override string ToString |
( |
| ) |
|
Ptr to String
- Returns
- Address in Hexadecimal format
◆ Address
◆ SIZE
◆ Null