mcchunktools
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Data Fields
nbt_node Struct Reference

#include <nbt.h>

Collaboration diagram for nbt_node:
[legend]

Data Fields

nbt_type type
 
char * name
 
union {
   int8_t   tag_byte
 
   int16_t   tag_short
 
   int32_t   tag_int
 
   int64_t   tag_long
 
   float   tag_float
 
   double   tag_double
 
   struct nbt_byte_array {
      unsigned char *   data
 
      int32_t   length
 
   }   tag_byte_array
 
   struct nbt_int_array {
      int32_t *   data
 
      int32_t   length
 
   }   tag_int_array
 
   char *   tag_string
 
   struct nbt_list {
      struct nbt_node *   data
 
      struct list_head   entry
 
   }   tag_list
 
   struct nbt_list {
      struct nbt_node *   data
 
      struct list_head   entry
 
   }   tag_compound
 
payload
 

Detailed Description

Definition at line 67 of file nbt.h.

Field Documentation

unsigned char* data

Definition at line 82 of file nbt.h.

int32_t* data

Definition at line 87 of file nbt.h.

struct nbt_node* data

Definition at line 105 of file nbt.h.

struct list_head entry

Definition at line 106 of file nbt.h.

int32_t length

Definition at line 83 of file nbt.h.

char* name

Definition at line 69 of file nbt.h.

union { ... } payload
int8_t tag_byte

Definition at line 74 of file nbt.h.

struct { ... } ::nbt_byte_array tag_byte_array
struct { ... } ::nbt_list * tag_compound
double tag_double

Definition at line 79 of file nbt.h.

float tag_float

Definition at line 78 of file nbt.h.

int32_t tag_int

Definition at line 76 of file nbt.h.

struct { ... } ::nbt_int_array tag_int_array
struct { ... } ::nbt_list * tag_list
int64_t tag_long

Definition at line 77 of file nbt.h.

int16_t tag_short

Definition at line 75 of file nbt.h.

char* tag_string

Definition at line 91 of file nbt.h.

nbt_type type

Definition at line 68 of file nbt.h.


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