C# Class PhotonHandler, SteelX

Internal Monobehaviour that allows Photon to run an Update loop.
Inheritance: Photon.MonoBehaviour, IPhotonPeerListener
Afficher le fichier Open project: andysctu/SteelX Class Usage Examples

Méthodes publiques

Свойство Type Description
SP PhotonHandler,
updateInterval int
updateIntervalOnSerialize int

Protected Properties

Свойство Type Description
AppQuits bool
PingImplementation Type

Private Properties

Свойство Type Description
PingAvailableRegionsCoroutine IEnumerator

Méthodes publiques

Méthode Description
FallbackSendAckThread ( ) : bool
StartFallbackSendAckThread ( ) : void
StopFallbackSendAckThread ( ) : void

Méthodes protégées

Méthode Description
Awake ( ) : void
OnApplicationPause ( bool pause ) : void

Called by Unity when the application gets paused (e.g. on Android when in background).

Some versions of Unity will give false values for pause on Android (and possibly on other platforms). Sets a disconnect timer when PhotonNetwork.BackgroundTimeout > 0.001f.

OnApplicationQuit ( ) : void

Called by Unity when the application is closed. Disconnects.

OnCreatedRoom ( ) : void
OnDestroy ( ) : void

Called by Unity when the play mode ends. Used to cleanup.

OnJoinedRoom ( ) : void
OnLevelWasLoaded ( int level ) : void

Called by Unity after a new level was loaded.

PingAvailableRegionsAndConnectToBest ( ) : void
Update ( ) : void

Private Methods

Méthode Description
PingAvailableRegionsCoroutine ( bool connectToBest ) : IEnumerator

Method Details

Awake() protected méthode

protected Awake ( ) : void
Résultat void

FallbackSendAckThread() public static méthode

public static FallbackSendAckThread ( ) : bool
Résultat bool

OnApplicationPause() protected méthode

Called by Unity when the application gets paused (e.g. on Android when in background).
Some versions of Unity will give false values for pause on Android (and possibly on other platforms). Sets a disconnect timer when PhotonNetwork.BackgroundTimeout > 0.001f.
protected OnApplicationPause ( bool pause ) : void
pause bool
Résultat void

OnApplicationQuit() protected méthode

Called by Unity when the application is closed. Disconnects.
protected OnApplicationQuit ( ) : void
Résultat void

OnCreatedRoom() protected méthode

protected OnCreatedRoom ( ) : void
Résultat void

OnDestroy() protected méthode

Called by Unity when the play mode ends. Used to cleanup.
protected OnDestroy ( ) : void
Résultat void

OnJoinedRoom() protected méthode

protected OnJoinedRoom ( ) : void
Résultat void

OnLevelWasLoaded() protected méthode

Called by Unity after a new level was loaded.
protected OnLevelWasLoaded ( int level ) : void
level int
Résultat void

PingAvailableRegionsAndConnectToBest() protected static méthode

protected static PingAvailableRegionsAndConnectToBest ( ) : void
Résultat void

StartFallbackSendAckThread() public static méthode

public static StartFallbackSendAckThread ( ) : void
Résultat void

StopFallbackSendAckThread() public static méthode

public static StopFallbackSendAckThread ( ) : void
Résultat void

Update() protected méthode

protected Update ( ) : void
Résultat void

Property Details

AppQuits protected_oe static_oe property

protected static bool AppQuits
Résultat bool

PingImplementation protected_oe static_oe property

protected static Type PingImplementation
Résultat Type

SP public_oe static_oe property

public static PhotonHandler, SP
Résultat PhotonHandler,

updateInterval public_oe property

public int updateInterval
Résultat int

updateIntervalOnSerialize public_oe property

public int updateIntervalOnSerialize
Résultat int