Photon Fusion 2.0.3

Public Member Functions | Properties | List of all members
INetworkAssetSource< T > Interface Template Reference

Interface for a network asset source. More...

Public Member Functions

void Acquire (bool synchronous)
 Acquires the network asset. More...
 
void Release ()
 Releases the network asset. More...
 
WaitForResult ()
 Waits for the result of the network asset acquisition. More...
 

Properties

string Description [get]
 Gets the description of the network asset. More...
 
bool IsCompleted [get]
 Checks if the network asset acquisition is completed. More...
 

Detailed Description

Interface for a network asset source.

Template Parameters
TType of the network asset.

Member Function Documentation

◆ Acquire()

void Acquire ( bool  synchronous)

Acquires the network asset.

Parameters
synchronousIf true, the acquisition is done synchronously.

◆ Release()

void Release ( )

Releases the network asset.

◆ WaitForResult()

T WaitForResult ( )

Waits for the result of the network asset acquisition.

Returns
The network asset.

Property Documentation

◆ Description

string Description
get

Gets the description of the network asset.

◆ IsCompleted

bool IsCompleted
get

Checks if the network asset acquisition is completed.