Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FThreadSafeCounter64
Description
Adds an amount and returns the old value.
| Name | Add |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/HAL/ThreadSafeCounter64.h |
| Include Path | #include "HAL/ThreadSafeCounter64.h" |
int64 Add
(
int64 Amount
)
the old value
Parameters
| Name | Remarks |
|---|---|
| Amount | Amount to increase the counter by |
See Also
-
Decrement
-
Increment
-
Reset
-
Set
-
Subtract