Pairs a shard ID with a C++ delegate for change notifications.
Used by the DataShardSubsystem to track registered callbacks for data changes.
More...
#include <DataShardKey.h>
Pairs a shard ID with a C++ delegate for change notifications.
Used by the DataShardSubsystem to track registered callbacks for data changes.
◆ EqualID()
| bool DataShardIDDelegatePair::EqualID |
( |
const int32 & | InID | ) |
const |
Checks if the stored ID matches another ID
- Parameters
-
| InID | - The ID to compare against |
- Returns
- true if the IDs match, false otherwise
◆ Execute()
| bool DataShardIDDelegatePair::Execute |
( |
const int32 & | InID | ) |
const |
Executes the stored delegate with the given shard ID
- Parameters
-
| InID | - The ID of the shard that changed |
- Returns
- false if the delegate is not bound, true if it was successfully executed
◆ FDataShardIDDelegatePair() [1/3]
| DataShardIDDelegatePair::FDataShardIDDelegatePair |
( |
| ) |
|
|
inline |
◆ FDataShardIDDelegatePair() [2/3]
| DataShardIDDelegatePair::FDataShardIDDelegatePair |
( |
const FOnShardDataChange_internal & | Delegate | ) |
|
|
inline |
Creates a pair with a default ID and the specified delegate
- Parameters
-
| Delegate | - The C++ delegate to call when data changes |
◆ FDataShardIDDelegatePair() [3/3]
| DataShardIDDelegatePair::FDataShardIDDelegatePair |
( |
const int32 & | ID, |
|
|
const FOnShardDataChange_internal & | Delegate ) |
|
inline |
Creates a pair with the specified ID and delegate
- Parameters
-
| ID | - The ID of the shard to monitor for changes |
| Delegate | - The C++ delegate to call when data changes |
◆ IsBoundTo()
| bool DataShardIDDelegatePair::IsBoundTo |
( |
const UObject * | Object | ) |
const |
◆ operator!=()
◆ operator=()
◆ operator==()