Luanti 5.16.0-dev
Loading...
Searching...
No Matches
PackedValue Struct Reference

A packed value can be a primitive like a string or number but also a table including all of its contents. More...

#include <c_packer.h>

Collaboration diagram for PackedValue:

Public Member Functions

 PackedValue ()=default
 ~PackedValue ()

Public Attributes

std::vector< PackedInstri
bool contains_userdata = false

Detailed Description

A packed value can be a primitive like a string or number but also a table including all of its contents.

It is made up of a linear stream of instructions that build the final value when executed.

Constructor & Destructor Documentation

◆ PackedValue()

PackedValue::PackedValue ( )
default

References PackedValue().

Referenced by PackedValue().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~PackedValue()

PackedValue::~PackedValue ( )

References contains_userdata, find_packer(), and i.

Here is the call graph for this function:

Member Data Documentation

◆ contains_userdata

bool PackedValue::contains_userdata = false

◆ i

std::vector<PackedInstr> PackedValue::i

The documentation for this struct was generated from the following files: