C# Class Aura.Channel.World.Quests.QuestRewardGroup

Datei anzeigen Open project: aura-project/aura

Public Methods

Method Description
Add ( QuestReward reward ) : void

Adds reward to group.

HasRewardsFor ( QuestResult result ) : bool

Returns true if group contains rewards for result.

QuestRewardGroup ( int groupId, RewardGroupType type ) : Aura.Data

Creates new QuestRewardGroup

Method Details

Add() public method

Adds reward to group.
public Add ( QuestReward reward ) : void
reward QuestReward
return void

HasRewardsFor() public method

Returns true if group contains rewards for result.
public HasRewardsFor ( QuestResult result ) : bool
result QuestResult
return bool

QuestRewardGroup() public method

Creates new QuestRewardGroup
public QuestRewardGroup ( int groupId, RewardGroupType type ) : Aura.Data
groupId int
type RewardGroupType
return Aura.Data