unreal.AchievementLibrary
¶
- class unreal.AchievementLibrary(outer=None, name='None')¶
Bases:
unreal.BlueprintFunctionLibrary
Library of synchronous achievement calls
C++ Source:
Plugin: OnlineSubsystemUtils
Module: OnlineSubsystemUtils
File: AchievementBlueprintLibrary.h
- classmethod get_cached_achievement_description(world_context_object, player_controller, achievement_id) -> (found_id=bool, title=Text, locked_description=Text, unlocked_description=Text, hidden=bool)¶
out
- Parameters
world_context_object (Object) –
player_controller (PlayerController) –
achievement_id (Name) –
- Returns
found_id (bool):
title (Text):
locked_description (Text):
unlocked_description (Text):
hidden (bool):
- Return type
tuple
- classmethod get_cached_achievement_progress(world_context_object, player_controller, achievement_id) -> (found_id=bool, progress=float)¶
out
- Parameters
world_context_object (Object) –
player_controller (PlayerController) –
achievement_id (Name) –
- Returns
found_id (bool):
progress (float):
- Return type
tuple