All Data Structures Functions Variables Pages
Static Public Member Functions | Static Public Attributes
CreateCampaignGameBadgeRules Class Reference
Inheritance diagram for CreateCampaignGameBadgeRules:
GameBadgeRules

Static Public Member Functions

static getPassiveDisplayLabel ($value)
 
static badgeGradeUserShouldHaveByPointsAndScores ($userPointsByType, $userScoresByType)
 
- Static Public Member Functions inherited from GameBadgeRules
static getPassiveDisplayLabel ($value)
 
static getItemCountByGrade ($grade)
 
static getType ()
 
static getBadgeRulesData ()
 
static badgeGradeUserShouldHaveByPointsAndScores ($userPointsByType, $userScoresByType)
 
static hasBonusPointsOnCreation ()
 
static hasBonusPointsOnGradeChange ()
 
static getNewBonusPointType ()
 
static getNewBonusPointValue ()
 
static getGradeBonusPointType ()
 
static getGradeBonusPointValue ($grade)
 

Static Public Attributes

static $valuesIndexedByGrade
 

Additional Inherited Members

- Static Protected Member Functions inherited from GameBadgeRules
static getBadgeGradeByValue ($value)
 

Detailed Description

Class for defining the badge associated with creating a new campaign

Definition at line 40 of file CreateCampaignGameBadgeRules.php.

Member Function Documentation

static badgeGradeUserShouldHaveByPointsAndScores (   $userPointsByType,
  $userScoresByType 
)
static
Parameters
array$userPointsByType
array$userScoresByType

Definition at line 67 of file CreateCampaignGameBadgeRules.php.

Field Documentation

$valuesIndexedByGrade
static
Initial value:
= array(
1 => 1,
2 => 3,
3 => 5,
4 => 10,
5 => 20,
6 => 30,
7 => 40,
8 => 50,
9 => 60,
10 => 70,
11 => 80,
12 => 90,
13 => 100
)

Definition at line 42 of file CreateCampaignGameBadgeRules.php.


The documentation for this class was generated from the following file:
Generated on Thu Jan 23 2020 07:10:29