Photon Bolt Engine API
Networking Middleware
Properties | List of all members
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]
 
bool InvokeIfGameObjectIsInactive [get]
 

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.

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

Property Documentation

bool Bolt.IEventListener.InvokeIfDisabled
get
bool Bolt.IEventListener.InvokeIfGameObjectIsInactive
get