Components & Properties
| Name | Description |
|---|---|
| Game entity.Get coins when match begins | Number of coins gained at the start of the round |
| Game entity.Get coins for eliminating | Number of coins at kill |
| Game entity.Get coins for victory | Number of coins when you win |
| Game entity.Display coin amount or not | Whether to show wallet UI |
| Player.Ask Buy Target | The target to which the Request Purchase message was sent |
| Shop Item | Only used for entities sold in the shop, the concept of shop items is different from that of items purchased. |
| Shop Shelf | Contains several shop items. |
| Shop | Contains several shelves. |
| UI Request Purchase Type | Shop request purchase |
| UI Store | UI of the shop |
| Money Type | Currency type, currently only the base currency type |
| Money | Currency entity, which describes the type and amount of currency. |
| Wallet | Wallet entities are containers for a bunch of currency entities |
| Wallet UI | Wallet |
Event
| Name | Description |
|---|---|
| On Purchase | Triggered when a product is successfully purchased in the store |
| On Pre Purchase | Triggered before purchasing goods in the store |
API
| Name | Description |
|---|---|
| Get Wallet | Get the wallet of the target entity |
| Create Wallet | Create a wallet for the target player. Ineffective if the player already has a wallet. |
| Add Money | Add currency to the specified wallet |
| Cost Money | Reduce currency from specified wallet |
| Transfer Money | Transfer currency from one wallet to another |
| Get Money Count | Get the amount of the specified type of currency in the specified wallet |
| Get Money | Get the entity of the specified type of currency in the specified wallet |
| Get All Shops | Get all the stores in the game and return them as a list |
| Create Shop | Create a custom store, the next level of the store is the shelves |
| Create Shop Shelf | Create a custom shelf, the upper level of the shelf is the store, and the lower level is the product |
| Create Shop Item | Create a custom product, you can add items to the product |
| Add Item To Shop Item | Add item to a product. You can add multiple items to a product by using this block multiple times. |