TrnPacket

Constructors

this
this(TrnPacketType type)

Create an packet with default values

this
this(TrnPacketType type, ubyte[] payloadData)
this
this(T packet)

Members

Functions

as
inout(T) as()

as!TrnNWN2WalkmeshPayload

as
inout(TrnPacketTypeToPayload!T) as()

as!(TrnPacketType.NWN2_ASWM)

serialize
ubyte[] serialize()

Serialize a single TRN packet

Properties

type
TrnPacketType type [@property getter]

Meta