Photon Quantum 3.0.0

Static Public Attributes | List of all members
Quantum.DispatcherHandlerFlags Class Reference

Built-in flags for DispatcherBase.Subscribe<TDispatchable>(object, DispatchableHandler<TDispatchable>, bool, uint, DispatchableFilter) More...

Static Public Attributes

const int CustomFlagsShift = 8
 Use as bit shift for custom flags. More...
 
const uint DontInvokeIfAddedInAHandler = 1 << 1
 If set, handler will not be called if added in an active handler. More...
 
const uint None = 0
 No flags. More...
 
const uint Once = 1 << 0
 Call handler only once, then remove. More...
 

Detailed Description

Built-in flags for DispatcherBase.Subscribe<TDispatchable>(object, DispatchableHandler<TDispatchable>, bool, uint, DispatchableFilter)

Member Data Documentation

◆ CustomFlagsShift

const int Quantum.DispatcherHandlerFlags.CustomFlagsShift = 8
static

Use as bit shift for custom flags.

◆ DontInvokeIfAddedInAHandler

const uint Quantum.DispatcherHandlerFlags.DontInvokeIfAddedInAHandler = 1 << 1
static

If set, handler will not be called if added in an active handler.

◆ None

const uint Quantum.DispatcherHandlerFlags.None = 0
static

No flags.

◆ Once

const uint Quantum.DispatcherHandlerFlags.Once = 1 << 0
static

Call handler only once, then remove.