YOM Replicator SDK 0.8.0.0
A metaverse SDK created by YOM
|
A BlueprintFunctionLibrary for the counter system.
Static Public Member Functions | |
Blueprint Functions | |
static void | AddToCounter (AYomPlayer *pPlayer, UObject *pWorldContextObject, const int pValue, const FString &pName, const FFetchCounterDoneDelegate &pCallback) |
A BlueprintCallable function that increments or decrements a counter on blockchain. More... | |
static void | GetCounter (UObject *pWorldContextObject, const FString &pName, const FFetchCounterDelegate &pCallback) |
A BlueprintCallable function that gets the value of the counter with the given name from given metaspace. More... | |
static void | ReplicateCounter (UObject *pWorldContextObject, AYomPlayer *pPlayer, const FString &pName) |
A BlueprintCallable function that runs on the server. It gets the value of the counter and replicates the result to all clients. More... | |
|
static |
A BlueprintCallable function that increments or decrements a counter on blockchain.
pPlayer | The player to get walletId from |
pValue | The value which will be added to the counter |
pName | The name of the counter to change |
pCallback | The name of the callback to save the value |
|
static |
A BlueprintCallable function that gets the value of the counter with the given name from given metaspace.
pName | The name of the counter to get |
pCallback | The name of the callback to save the value |
|
static |
A BlueprintCallable function that runs on the server. It gets the value of the counter and replicates the result to all clients.
pWorldContextObject | |
pPlayer | Player object of which the component is on |
pName | The name of the counter to get |