Commands

All commands executed by the Currency plugin through Spark.Network.ExecuteCommand().

Command
Properties
Description

AddCurrencyCommand

WalletId, EntityId, CurrencyId, Amount, SuppressEvents

Add currency to a wallet

RemoveCurrencyCommand

WalletId, EntityId, CurrencyId, Amount, SuppressEvents

Remove currency from a wallet

SetCurrencyCommand

WalletId, EntityId, CurrencyId, Amount, SuppressEvents

Set currency to exact amount

ConvertCurrencyCommand

WalletId, EntityId, ConversionEntryId, ConversionCount

Convert currency using a conversion entry

TransferCurrencyCommand

SourceWalletId, TargetWalletId, SourceEntityId, TargetEntityId, CurrencyId, Amount

Transfer currency between wallets

CreateWalletCommand

WalletId, EntityId

Create a new wallet instance

DestroyWalletCommand

WalletId, EntityId

Destroy a wallet instance

See Command System for full details on creating and executing commands.

Last updated

Was this helpful?