LibTMJ  1.0.0
A library for loading JSON Tiled maps
Data Fields
Property Struct Reference

https://doc.mapeditor.org/en/stable/reference/json-map-format/#property More...

#include <tmj.h>

Data Fields

char * name
 
char * propertytype
 
char * type
 
union {
   char *   value_string
 
   int   value_int
 
   double   value_float
 
   bool   value_bool
 
   char *   value_color
 
   char *   value_file
 
   int   value_object
 
}; 
 

Detailed Description

https://doc.mapeditor.org/en/stable/reference/json-map-format/#property

Definition at line 24 of file tmj.h.

Field Documentation

◆ name

char* Property::name

Definition at line 25 of file tmj.h.

◆ propertytype

char* Property::propertytype

Definition at line 26 of file tmj.h.

◆ type

char* Property::type

Definition at line 27 of file tmj.h.

◆ value_string

char* Property::value_string

Definition at line 30 of file tmj.h.

◆ value_int

int Property::value_int

Definition at line 31 of file tmj.h.

◆ value_float

double Property::value_float

Definition at line 32 of file tmj.h.

◆ value_bool

bool Property::value_bool

Definition at line 33 of file tmj.h.

◆ value_color

char* Property::value_color

Definition at line 34 of file tmj.h.

◆ value_file

char* Property::value_file

Definition at line 35 of file tmj.h.

◆ value_object

int Property::value_object

Definition at line 36 of file tmj.h.

◆ 

union { ... }

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