Lua API
On this page

DDD_DataMessage_S2C

Inherits from

Add or update a dat file Resource.

Fields:

Compression CompressionType

the type of compression used

DataSize number

the number of bytes required for the remainder of this message, including this DWORD

FileSize number

the size of the uncompressed file

IdDatFile ResourceType

which dat file should store this resource

IdIteration number

the file version number

ResourceId number

the resource ID number

ResourceType number

the resource type

Version number

version of some sort

Methods:

GetPropertyKeys() : string[]

Returns a list of strings of all public property / field names. Useful for reflection on UserData in lua scripts

Returns:string[]

ToString() : string

Returns a string that represents the current object.

Returns:string