unreal.FindSessionsCallbackProxy

class unreal.FindSessionsCallbackProxy(outer=None, name='None')

Bases: unreal.OnlineBlueprintCallProxyBase

Find Sessions Callback Proxy

C++ Source:

  • Plugin: OnlineSubsystemUtils

  • Module: OnlineSubsystemUtils

  • File: FindSessionsCallbackProxy.h

Editor Properties: (see get_editor_property/set_editor_property)

  • on_failure (BlueprintFindSessionsResultDelegate): [Read-Write] Called when there is an unsuccessful query

  • on_success (BlueprintFindSessionsResultDelegate): [Read-Write] Called when there is a successful query

classmethod get_current_players(result) → int32

Get Current Players

Parameters

result (BlueprintSessionResult) –

Returns

Return type

int32

classmethod get_max_players(result) → int32

Get Max Players

Parameters

result (BlueprintSessionResult) –

Returns

Return type

int32

classmethod get_ping_in_ms(result) → int32

Get Ping in Ms

Parameters

result (BlueprintSessionResult) –

Returns

Return type

int32

classmethod get_server_name(result)str

Get Server Name

Parameters

result (BlueprintSessionResult) –

Returns

Return type

str

property on_failure

[Read-Write] Called when there is an unsuccessful query

Type

(BlueprintFindSessionsResultDelegate)

property on_success

[Read-Write] Called when there is a successful query

Type

(BlueprintFindSessionsResultDelegate)