Pairs a DataShardKey with a Blueprint delegate for change notifications.
Used by the DataShardSubsystem to track registered callbacks for data changes.
More...
#include <DataShardKey.h>
Pairs a DataShardKey with a Blueprint delegate for change notifications.
Used by the DataShardSubsystem to track registered callbacks for data changes.
Delegate type for Blueprint callbacks when shard data changes
◆ EqualKey()
| bool DataShardKeyDelegatePair::EqualKey |
( |
const FDataShardKey & | Other | ) |
const |
Checks if the stored key matches another key
- Parameters
-
| Other | - The key to compare against |
- Returns
- true if the keys match, false otherwise
◆ Execute()
| bool DataShardKeyDelegatePair::Execute |
( |
const int32 & | ID | ) |
const |
Executes the stored delegate with the given shard ID
- Parameters
-
| ID | - The ID of the shard that changed |
- Returns
- false if the delegate is not bound, true if it was successfully executed
◆ FDataShardKeyDelegatePair() [1/3]
| DataShardKeyDelegatePair::FDataShardKeyDelegatePair |
( |
| ) |
|
|
inline |
◆ FDataShardKeyDelegatePair() [2/3]
| DataShardKeyDelegatePair::FDataShardKeyDelegatePair |
( |
const FDataShardKey * | Key, |
|
|
const FOnShardDataChange & | Delegate ) |
|
inline |
Creates a pair with the specified key and delegate
- Parameters
-
| Key | - Pointer to the key to associate with the delegate |
| Delegate | - The Blueprint delegate to call when data changes |
◆ FDataShardKeyDelegatePair() [3/3]
| DataShardKeyDelegatePair::FDataShardKeyDelegatePair |
( |
const FOnShardDataChange & | Delegate | ) |
|
|
inline |
Creates a pair with a new empty key and the specified delegate
- Parameters
-
| Delegate | - The Blueprint delegate to call when data changes |
◆ IsBoundTo()
| bool DataShardKeyDelegatePair::IsBoundTo |
( |
const UObject * | Object | ) |
const |
◆ operator!=()
◆ operator=()
◆ operator==()