Beamable SDK
Public Member Functions | List of all members
Beamable.Common.Announcements.AnnouncementPlayerRewards Class Reference

A type of PlayerReward that allows a player to claim AnnouncementApiReward as well as items and currencies. More...

Inheritance diagram for Beamable.Common.Announcements.AnnouncementPlayerRewards:
Inheritance graph
[legend]
Collaboration diagram for Beamable.Common.Announcements.AnnouncementPlayerRewards:
Collaboration graph
[legend]

Public Member Functions

override bool HasAnyReward ()
 Check if there are any currencies or items in this PlayerReward More...
 

Additional Inherited Members

- Public Attributes inherited from Beamable.Common.Content.PlayerReward< OptionalListOfAnnouncementRewards >
OptionalString description
 An optional textual description of the reward. Use this to quickly summarize for development what the reward grants.
 
OptionalCurrencyChangeList currencies
 Optionally, each reward can grant a set of currencies.
 
OptionalNewItemList items
 Optionally, each reward can grant a set of items with properties.
 
OptionalBoolean applyVipBonus
 Optionally, when a reward is claimed, the vip bonus can be applied to the currencies.
 
TOptionalApiRewards webhooks
 

Detailed Description

A type of PlayerReward that allows a player to claim AnnouncementApiReward as well as items and currencies.

Member Function Documentation

◆ HasAnyReward()

override bool Beamable.Common.Announcements.AnnouncementPlayerRewards.HasAnyReward ( )
inlinevirtual

Check if there are any currencies or items in this PlayerReward

Returns
true if there are any rewards, false otherwise.

Reimplemented from Beamable.Common.Content.PlayerReward< OptionalListOfAnnouncementRewards >.


The documentation for this class was generated from the following file: