|
| EZ_DECLARE_MESSAGE_TYPE (ezMsgSetCustomData, ezMessage) |
|
virtual void | Serialize (ezStreamWriter &inout_stream) const override |
| Implement this for efficient transmission across process boundaries (e.g. network transfer etc.) More...
|
|
virtual void | Deserialize (ezStreamReader &inout_stream, ezUInt8 uiTypeVersion) override |
|
virtual ezInt32 | GetSortingKey () const |
| Derived message types can override this method to influence sorting order. Smaller keys are processed first.
|
|
EZ_ALWAYS_INLINE ezMessageId | GetId () const |
| Returns the id for this message type.
|
|
EZ_ALWAYS_INLINE ezUInt16 | GetSize () const |
| Returns the size in byte of this message.
|
|
EZ_ALWAYS_INLINE ezUInt64 | GetHash () const |
| Calculates a hash of the message.
|
|
virtual const ezRTTI * | GetDynamicRTTI () const |
|
bool | IsInstanceOf (const ezRTTI *pType) const |
| Returns whether the type of this instance is of the given type or derived from it.
|
|
template<typename T > |
EZ_ALWAYS_INLINE bool | IsInstanceOf () const |
| Returns whether the type of this instance is of the given type or derived from it.
|
|
|
float | m_fData0 |
|
float | m_fData1 |
|
float | m_fData2 |
|
float | m_fData3 |
|
◆ Deserialize()
void ezMsgSetCustomData::Deserialize |
( |
ezStreamReader & |
inout_stream, |
|
|
ezUInt8 |
uiTypeVersion |
|
) |
| |
|
overridevirtual |
◆ Serialize()
void ezMsgSetCustomData::Serialize |
( |
ezStreamWriter & |
inout_stream | ) |
const |
|
overridevirtual |
Implement this for efficient transmission across process boundaries (e.g. network transfer etc.)
If the message is only ever sent within the same process between nodes of the same ezWorld, this does not need to be implemented.
Note that PackageForTransfer() will automatically include the ezRTTI type version into the stream and ReplicatePackedMessage() will pass this into Deserialize(). Use this if the serialization changes.
Reimplemented from ezMessage.
The documentation for this struct was generated from the following files:
- /home/runner/work/ezEngine/ezEngine/Code/Engine/Core/Messages/SetColorMessage.h
- /home/runner/work/ezEngine/ezEngine/Code/Engine/Core/Messages/Implementation/SetColorMessage.cpp