BrainCloudGamification class

Constructors

BrainCloudGamification(BrainCloudClient _clientRef)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

awardAchievements({required List<String> achievements}) Future<ServerResponse>
Method will award the achievements specified. On success, this will call AwardThirdPartyAchievement to hook into the client-side Achievement service (ie GameCentre, Facebook etc).
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readAchievedAchievements({required bool includeMetaData}) Future<ServerResponse>
Method retrives the list of achieved achievements.
readAchievements({required bool includeMetaData}) Future<ServerResponse>
Read all of the achievements defined for the game.
readAllGamification({required bool includeMetaData}) Future<ServerResponse>
Method retrieves all gamification data for the player.
readCompletedMilestones({required bool includeMetaData}) Future<ServerResponse>
Method retrieves the list of completed milestones.
readCompletedQuests({required bool includeMetaData}) Future<ServerResponse>
Method returns all completed quests.
readInProgressMilestones({required bool includeMetaData}) Future<ServerResponse>
Method retrieves the list of in progress milestones
readInProgressQuests({required bool includeMetaData}) Future<ServerResponse>
Method returns all in progress quests.
readMilestones({required bool includeMetaData}) Future<ServerResponse>
Method retrieves all milestones defined for the game.
readMilestonesByCategory({required String category, required bool includeMetaData}) Future<ServerResponse>
Method retrieves milestones of the given category.
readNotStartedQuests({required bool includeMetaData}) Future<ServerResponse>
Method returns all quests that haven't been started.
readQuests({required bool includeMetaData}) Future<ServerResponse>
Method retrieves all of the quests defined for the game.
readQuestsByCategory({required String category, required bool includeMetaData}) Future<ServerResponse>
Method returns all quests for the given category.
readQuestsWithBasicPercentage({required bool includeMetaData}) Future<ServerResponse>
Method returns all quests with a basic percentage.
readQuestsWithComplexPercentage({required bool includeMetaData}) Future<ServerResponse>
Method returns all quests with a complex percentage.
readQuestsWithStatus({required bool includeMetaData}) Future<ServerResponse>
Method returns all quests with status.
readXpLevelsMetadata() Future<ServerResponse>
Method returns all defined xp levels and any rewards associated with those xp levels.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited