2
Fork 0
Code Activity
Var Dump:
dumpVar: only available in dev mode
Mailing List
010-templates/vt2_network_config.bt

40 lines
No EOL
901 B
Text

//------------------------------------------------
//--- 010 Editor v11.0.1 Binary Template
//
// File: vt2_network_config.bt
// Authors: Lucas Schwiderski
// Version:
// Purpose:
// Category: Vermintide 2
// File Mask: *.network_config
// ID Bytes: 20 00 00 00
// History:
//------------------------------------------------
typedef enum<UINT32> {
PeerToPeer,
ClientServer
} NetworkType;
typedef enum<BYTE> {
Int = 0x01,
Int64 = 0x07,
GamerObjectId = 0x34
} Primitive;
typedef struct {
Primitive primitive;
uint16 bits;
uint32 padding;
uint32 name_hash;
uint32 tolerance;
uint32 min; // Possibly 'min' for number values
uint32 max;
} Type;
uint32 version;
NetworkType network_type;
uint32 reliable_send_buffer_size;
uint32 reliable_receive_buffer_size;
uint32 num_types <hidden=true>;
Type types[num_types];