Photon Bolt Engine API 1.3

Properties | List of all members
Photon.Bolt.IEventListener Interface Reference

Interface that can be implemented on Bolt.GlobalEventListener, Bolt.EntityEventListener and Bolt.EntityEventListener<T> to modify its invoke condition settings More...

Properties

bool InvokeIfDisabled [get]
 Signal to Bolt if this EventListener must receive events even if it's disabled. Return true to receive events. More...
 
bool InvokeIfGameObjectIsInactive [get]
 Signal to Bolt if this EventListener must receive events even if the GameObject is disabled. Return true to receive events. More...
 

Detailed Description

Interface that can be implemented on Bolt.GlobalEventListener, Bolt.EntityEventListener and Bolt.EntityEventListener<T> to modify its invoke condition settings

Example: A custom server callback class that invokes events even when disabled.

[BoltGlobalBehaviour(BoltNetworkModes.Server)]
public class BoltServerCallbacks : Bolt.GlobalEventListener, Bolt.IEventListener {
public bool InvokeIfDisabled { return true; }
public bool InvokeIfGameObjectIsInactive { return true; }
// event callback overrides below
}

Property Documentation

◆ InvokeIfDisabled

bool Photon.Bolt.IEventListener.InvokeIfDisabled
get

Signal to Bolt if this EventListener must receive events even if it's disabled. Return true to receive events.

◆ InvokeIfGameObjectIsInactive

bool Photon.Bolt.IEventListener.InvokeIfGameObjectIsInactive
get

Signal to Bolt if this EventListener must receive events even if the GameObject is disabled. Return true to receive events.

Photon.Bolt.IEventListener.InvokeIfDisabled
bool InvokeIfDisabled
Signal to Bolt if this EventListener must receive events even if it's disabled. Return true to receiv...
Definition: EventListener.cs:26
Photon.Bolt.IEventListener.InvokeIfGameObjectIsInactive
bool InvokeIfGameObjectIsInactive
Signal to Bolt if this EventListener must receive events even if the GameObject is disabled....
Definition: EventListener.cs:32
Photon.Bolt.BoltNetworkModes
BoltNetworkModes
Definition: BoltNetwork.cs:13