DataTables
This message only appears once at the beginning of a demo. It contains network data which the engine used for simulation.
- Overview
- C
- C++
- C#
- JS
- TS
- Go
- Rust
- Zig
Name | Type | Size in bytes | Size in bits | Value |
---|---|---|---|---|
Size | int | 4 | 32 | - |
Data | byte[] | Size | Size*8 | SendTable[] ServerClassInfo[] |
typedef struct {
int size;
char* data;
} data_tables_t;
struct data_tables_t {
int32_t size;
std::vector<std::byte> data;
};
class DataTables {
public int Size { get; set; }
public List<byte> Data { get; set; }
}
class DataTables {
/** @type {number} */
size;
/** @type {number[]} */
data;
}
export class DataTables {
public size?: number;
public data?: number[];
}
type DataTables struct {
Size int32
Data []byte
}
pub struct DataTables {
pub size: i32,
pub data: Vec<u8>,
}
const DataTables = struct {
size: i32,
data: []u8,
};
Pseudocode Example
while read_one_bit() {
read_send_table();
}
let classes = read_le_i16();
for _ in 0..classes {
read_server_class_info();
}