entity_virtual_currency_balances_changed
This event is triggered when an entity's virtual currency balance changes.
Properties
Name | Type | Description |
---|---|---|
EntityChain | String | The chain of ownership for this entity. |
EntityLineage | EntityLineage | Entities that this entity is a child of. |
SequenceId | String | Sequence id of the balance change to ensure updates are processed in order. |
VirtualCurrencyBalances | Object | New virtual currency balances after the change. Only shows currencies that were updated. |
VirtualCurrencyContainerId | String | Container whose balances changed. |
VirtualCurrencyPreviousBalances | Object | Old virtual currency balances before the change. Only shows currencies that were updated. |
Common Properties
All PlayStream events are formatted as JSON objects and share the following common properties:
Name | Type | Description |
---|---|---|
CustomTags | Object | Key-Value pair storage. Any provider of this event schema is allowed to send additional values in this property. |
EntityId | String | The identifier for the entity (title, player, etc) to which this event applies. |
EntityType | String | The type of entity (player, title, etc.) to which this event applies. If PlayFab is meant to take action on this entity, then the EntityType must be either 'player', 'character', or 'title'. It is required that any entity type that PlayFab does not currently parse should be prepended with a namespace (like 'com.mygame.guild') as PlayFab may begin to parse root entities at any time. |
EventId | String | PlayFab-assigned unique identifier for this event. |
EventName | String | The name of this event. |
EventNamespace | String | The assigned namespacing for this event. For example: 'com.myprogram.ads' |
History | PlayStreamEventHistory | The history of events associated with this event. This is set in cases where an event has generated children events via a trigger action. |
Reserved | object | Reserved exclusively for PlayFab internal use. |
Source | String | The name of the source of this PlayStream event; will be PlayFab if the event originated from us. |
SourceType | SourceType | The type of source of this event (PlayFab partner, other backend, or from the PlayFab API). |
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈