Skip to content

Structs

Roland Firmont edited this page Aug 17, 2016 · 1 revision

Structs

Structs come in two flavors: native and as a list of properties. To know if a struct is native or a list of properties you have to guess based on its name, because that information is not directly included. Every named struct in the following list is a native struct.

Vector

size = 12

Fields

  • Float x
  • Float y
  • Float z

Quat

size = 16

Fields

  • Float x
  • Float y
  • Float z
  • Float w

Color

size = 4

Fields

  • UInt8 b
  • UInt8 g
  • UInt8 r
  • UInt8 a

LinearColor

size = 16

Fields

  • Float r
  • Float g
  • Float b
  • Float a

Rotator

size = 12

Fields

  • Float pitch
  • Float yaw
  • Float roll

UniqueNetIdRepl

Used to hold the SteamID of a player

size = 4 + sizeOf(netId)

Fields

  • Int32 unknown
  • String netId

Non-native structs

size = the size of all properties combined

Contains a stream of properties, one after another. Ends with an empty Property (name = "None")

Clone this wiki locally