unreal.TurnBasedLibrary
¶
- class unreal.TurnBasedLibrary(outer=None, name='None')¶
Bases:
unreal.BlueprintFunctionLibrary
Library of synchronous achievement calls
C++ Source:
Plugin: OnlineSubsystemUtils
Module: OnlineSubsystemUtils
File: TurnBasedBlueprintLibrary.h
- classmethod get_is_my_turn(world_context_object, player_controller, match_id) → bool¶
out
- Parameters
world_context_object (Object) –
player_controller (PlayerController) –
match_id (str) –
- Returns
is_my_turn (bool):
- Return type
- classmethod get_my_player_index(world_context_object, player_controller, match_id) → int32¶
out
- Parameters
world_context_object (Object) –
player_controller (PlayerController) –
match_id (str) –
- Returns
player_index (int32):
- Return type
int32
- classmethod get_player_display_name(world_context_object, player_controller, match_id, player_index) → str¶
out
- Parameters
world_context_object (Object) –
player_controller (PlayerController) –
match_id (str) –
player_index (int32) –
- Returns
player_display_name (str):
- Return type
- classmethod register_turn_based_match_interface_object(world_context_object, player_controller, object) → None¶
Register Turn Based Match Interface Object
- Parameters
world_context_object (Object) –
player_controller (PlayerController) –
object (Object) –