PlayerEvent
is a data class used to define an event that the player has encountered.
More...
PlayerEvent
is a data class used to define an event that the player has encountered.
PlayerEvent
s are used when calling UserWise.AssignEvent.
◆ PlayerEvent() [1/3]
UserWiseSDK.PlayerEvent.PlayerEvent |
( |
string |
eventId | ) |
|
|
inline |
◆ PlayerEvent() [2/3]
UserWiseSDK.PlayerEvent.PlayerEvent |
( |
string |
eventId, |
|
|
PlayerAttribute |
attribute |
|
) |
| |
|
inline |
Build a new PlayerEvent
instance with a single attribute.
◆ PlayerEvent() [3/3]
UserWiseSDK.PlayerEvent.PlayerEvent |
( |
string |
eventId, |
|
|
List< PlayerAttribute > |
Attributes |
|
) |
| |
|
inline |
Build a new PlayerEvent
instance with multiple attributes.
◆ Attributes
List of PlayerAttribute definitions, used to describe attributes that should be stored with the event.
◆ EventId
string UserWiseSDK.PlayerEvent.EventId |
Static identifier for the event encountered (e.g. game_completed
).
The documentation for this struct was generated from the following file:
- userwise_sdk_source/userwise_sdk/PlayerEvent.cs