A class in Root.Township, the global namespace.
Networked board meant to show a quest's reward items on a trophy display. In this build the reward code only reads the SKU list and does nothing with it.
Constructors
| Member | What it is |
|---|
QuestBoard() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
4 private and internal fields
| Member | What it is |
|---|
private GameAchievement activeQuest | Achievement whose rewards the board shows. |
private bool isSupporterBoard | Whether the board shows the supporter-only rewards. |
private bool reapplyBtn | Inspector button field that calls DebugApplyPlayerAndRewards. |
private LocalPlayerAdvertisingTrophy rewardsDisplayTrophy | Trophy display meant to show the rewards. |
Methods
| Member | What it is |
|---|
void DebugApplyPlayerAndRewards() | Inspector button: runs ApplyPlayerAndRewards for the current player, or warns if there is none. |
1 private and internal method
| Member | What it is |
|---|
private async void ApplyPlayerAndRewards(IPlayer player) | Reads the normal or supporter-only reward SKUs for the quest; nothing else happens in this build. |