Astra Unity 2.6.6
Astra Unity Plugin
Astra.Utils.Events.PayloadEvent< TPayload > Class Template Reference

Base PayloadEvent class extending BusEvent Payload will be passed to subscriber callback methods on publication of event More...

Inheritance diagram for Astra.Utils.Events.PayloadEvent< TPayload >:

Public Member Functions

 PayloadEvent (TPayload payload)
 PayloadEvent constructor More...
 
 PayloadEvent ()
 base constructor for an instance of this event
 

Public Attributes

TPayload _payload
 

Detailed Description

Base PayloadEvent class extending BusEvent Payload will be passed to subscriber callback methods on publication of event

Template Parameters
TPayloadType of payload

Constructor & Destructor Documentation

◆ PayloadEvent()

Astra.Utils.Events.PayloadEvent< TPayload >.PayloadEvent ( TPayload  payload)
inline

PayloadEvent constructor

Parameters
payloadType of event to which to unsubscribe

The documentation for this class was generated from the following file: