Skip to content

Instantly share code, notes, and snippets.

@invokr
Created August 1, 2015 08:28
Show Gist options
  • Save invokr/b1f2b7c4255a0f0f1015 to your computer and use it in GitHub Desktop.
Save invokr/b1f2b7c4255a0f0f1015 to your computer and use it in GitHub Desktop.
=== RUN TestReadProperties
manta.PlusTwo: Name: CBaseEntity
manta.(*fieldpath).walk: Reached in 4 bits, m_flSimulationTime
manta.PlusOne: Name: CBaseEntity
manta.(*fieldpath).walk: Reached in 1 bits, m_hOwnerEntity
manta.PlusOne: Name: CBaseEntity
manta.(*fieldpath).walk: Reached in 1 bits, CBodyComponent
manta.PushOneLeftDeltaZeroRightZero: Name: CBaseEntity
manta.(*fieldpath).walk: Reached in 12 bits, m_cellX
manta.PlusOne: Name: CBaseEntity
manta.(*fieldpath).walk: Reached in 1 bits, m_cellY
manta.PlusOne: Name: CBaseEntity
manta.(*fieldpath).walk: Reached in 1 bits, m_cellZ
manta.PlusOne: Name: CBaseEntity
manta.(*fieldpath).walk: Reached in 1 bits, m_vecX
manta.PlusOne: Name: CBaseEntity
manta.(*fieldpath).walk: Reached in 1 bits, m_vecY
manta.PlusOne: Name: CBaseEntity
manta.(*fieldpath).walk: Reached in 1 bits, m_vecZ
manta.PlusOne: Name: CBaseEntity
manta.(*fieldpath).walk: Reached in 1 bits, m_hParent
manta.PlusOne: Name: CBaseEntity
manta.(*fieldpath).walk: Reached in 1 bits, m_angRotation
manta.PlusOne: Name: CBaseEntity
manta.(*fieldpath).walk: Reached in 1 bits, m_flScale
manta.PlusOne: Name: CBaseEntity
manta.(*fieldpath).walk: Reached in 1 bits, m_nOutsideWorld
manta.PlusOne: Name: CBaseEntity
manta.(*fieldpath).walk: Reached in 1 bits, m_name
manta.PlusOne: Name: CBaseEntity
manta.(*fieldpath).walk: Reached in 1 bits, m_hierarchyAttachName
manta.PopAllButOnePlusOne: Name: CBaseEntity
manta.(*fieldpath).walk: Reached in 6 bits, m_pEntity
manta.PushOneLeftDeltaZeroRightZero: Name: CBaseEntity
manta.(*fieldpath).walk: Reached in 12 bits, m_nameStringableIndex
manta.PopAllButOnePlusOne: Name: CBaseEntity
manta.(*fieldpath).walk: Reached in 6 bits, m_MoveCollide
manta.PlusOne: Name: CBaseEntity
manta.(*fieldpath).walk: Reached in 1 bits, m_MoveType
manta.PlusOne: Name: CBaseEntity
manta.(*fieldpath).walk: Reached in 1 bits, m_flCreateTime
manta.PlusOne: Name: CBaseEntity
manta.(*fieldpath).walk: Reached in 1 bits, m_ubInterpolationFrame
manta.PlusOne: Name: CBaseEntity
manta.(*fieldpath).walk: Reached in 1 bits, m_iTeamNum
manta.PlusOne: Name: CBaseEntity
manta.(*fieldpath).walk: Reached in 1 bits, m_hEffectEntity
manta.PlusOne: Name: CBaseEntity
manta.(*fieldpath).walk: Reached in 1 bits, m_fEffects
manta.PlusOne: Name: CBaseEntity
manta.(*fieldpath).walk: Reached in 1 bits, m_flElasticity
manta.PlusOne: Name: CBaseEntity
manta.(*fieldpath).walk: Reached in 1 bits, m_Gender
manta.PlusOne: Name: CBaseEntity
manta.(*fieldpath).walk: Reached in 1 bits, m_bSimulatedEveryTick
manta.PlusOne: Name: CBaseEntity
manta.(*fieldpath).walk: Reached in 1 bits, m_bAnimatedEveryTick
manta.PlusOne: Name: CBaseEntity
manta.(*fieldpath).walk: Reached in 1 bits, m_nMinCPULevel
manta.PlusOne: Name: CBaseEntity
manta.(*fieldpath).walk: Reached in 1 bits, m_nMaxCPULevel
manta.PlusOne: Name: CBaseEntity
manta.(*fieldpath).walk: Reached in 1 bits, m_nMinGPULevel
manta.PlusOne: Name: CBaseEntity
manta.(*fieldpath).walk: Reached in 1 bits, m_nMaxGPULevel
manta.PlusOne: Name: CBaseEntity
manta.(*fieldpath).walk: Reached in 1 bits, m_iTextureFrameIndex
manta.PlusOne: Name: CBaseEntity
manta.(*fieldpath).walk: Reached in 1 bits, CPhysicsComponent
manta.PushOneLeftDeltaZeroRightZero: Name: CBaseEntity
manta.(*fieldpath).walk: Reached in 12 bits, m_bCollisionActivationDisabled
manta.FieldPathEncodeFinish: Name: CBaseEntity
manta.(*fieldpath).walk: Reached in 2 bits, m_bCollisionActivationDisabled
manta.decodeFloat: Bitcount: 10, Low: 99, High: 99, Flags: 0
manta.readPropertiesNew: Decoded: 93 m_flSimulationTime float32 0.7869013
manta.readPropertiesNew: Decoded: 125 m_hOwnerEntity CHandle< CBaseEntity > 2097151
manta.readPropertiesNew: Decoded: 125 CBodyComponent CBodyComponent 0
manta.readPropertiesNew: Decoded: 141 m_cellX uint16 64
manta.readPropertiesNew: Decoded: 149 m_cellY uint16 61
manta.readPropertiesNew: Decoded: 165 m_cellZ uint16 64
manta.decodeFloat: Bitcount: 13, Low: 99, High: 256, Flags: 1
manta.readPropertiesNew: Decoded: 178 m_vecX CNetworkedQuantizedFloat 0.25003052
manta.decodeFloat: Bitcount: 13, Low: 99, High: 256, Flags: 1
manta.readPropertiesNew: Decoded: 191 m_vecY CNetworkedQuantizedFloat 0.37504578
manta.decodeFloat: Bitcount: 13, Low: 99, High: 256, Flags: 1
manta.readPropertiesNew: Decoded: 204 m_vecZ CNetworkedQuantizedFloat 0.8751068
manta.readPropertiesNew: Decoded: 236 m_hParent CGameSceneNodeHandle 2097151
manta.readPropertiesNew: Decoded: 238 m_angRotation QAngle [0 0 0]
manta.decodeFloat: Bitcount: 32, Low: 99, High: 99, Flags: 0
manta.readPropertiesNew: Decoded: 270 m_flScale float32 0.24804688
manta.readPropertiesNew: Decoded: 278 m_nOutsideWorld uint16 0
manta.readPropertiesNew: Decoded: 286 m_name CUtlStringToken
manta.readPropertiesNew: Decoded: 294 m_hierarchyAttachName CUtlStringToken
manta.readPropertiesNew: Decoded: 295 m_pEntity CEntityIdentity* 0
manta.readPropertiesNew: Decoded: 311 m_nameStringableIndex int32 96
manta.readPropertiesNew: Reading m_MoveCollide - MoveCollide_t as varint 0
manta.readPropertiesNew: Reading m_MoveType - MoveType_t as varint 0
manta.decodeFloat: Bitcount: 32, Low: 99, High: 99, Flags: 0
manta.readPropertiesNew: Decoded: 359 m_flCreateTime float32 0
manta.readPropertiesNew: Decoded: 367 m_ubInterpolationFrame uint8 0
manta.readPropertiesNew: Decoded: 375 m_iTeamNum uint8 0
manta.readPropertiesNew: Decoded: 407 m_hEffectEntity CHandle< CBaseEntity > 2097151
manta.readPropertiesNew: Decoded: 415 m_fEffects uint32 16
manta.decodeFloat: Bitcount: 10, Low: 99, High: 99, Flags: 0
manta.readPropertiesNew: Decoded: 425 m_flElasticity float32 0.0009775171
manta.readPropertiesNew: Reading m_Gender - gender_t as varint 0
manta.readPropertiesNew: Decoded: 434 m_bSimulatedEveryTick bool false
manta.readPropertiesNew: Decoded: 435 m_bAnimatedEveryTick bool false
manta.readPropertiesNew: Decoded: 443 m_nMinCPULevel uint8 96
manta.readPropertiesNew: Decoded: 451 m_nMaxCPULevel uint8 0
manta.readPropertiesNew: Decoded: 459 m_nMinGPULevel uint8 0
manta.readPropertiesNew: Decoded: 467 m_nMaxGPULevel uint8 0
manta.readPropertiesNew: Decoded: 475 m_iTextureFrameIndex uint8 0
manta.readPropertiesNew: Decoded: 475 CPhysicsComponent CPhysicsComponent 0
manta.readPropertiesNew: Decoded: 476 m_bCollisionActivationDisabled bool false
manta.TestReadProperties: Remaining bits 12
manta.(*reader).dumpBits: @ bit 00476 (byte 059 + 4) | binary: 0 | uint8: 64 | handle: ERR | var32: 32 | varu32: 64 | varu64: 64 | ubitvar: 0 | float32: ERR | byte: 0x40 | string: ERR
manta.(*reader).dumpBits: @ bit 00477 (byte 059 + 5) | binary: 0 | uint8: 32 | handle: ERR | var32: 16 | varu32: 32 | varu64: 32 | ubitvar: ERR | float32: ERR | byte: 0x20 | string: ERR
manta.(*reader).dumpBits: @ bit 00478 (byte 059 + 6) | binary: 0 | uint8: 16 | handle: ERR | var32: 8 | varu32: 16 | varu64: 16 | ubitvar: 0 | float32: ERR | byte: 0x10 | string: ERR
manta.(*reader).dumpBits: @ bit 00479 (byte 059 + 7) | binary: 0 | uint8: 8 | handle: ERR | var32: 4 | varu32: 8 | varu64: 8 | ubitvar: 8 | float32: ERR | byte: 0x08 | string: ERR
manta.(*reader).dumpBits: @ bit 00480 (byte 060 + 0) | binary: 0 | uint8: 4 | handle: ERR | var32: 2 | varu32: 4 | varu64: 4 | ubitvar: 4 | float32: ERR | byte: 0x04 | string: ERR
manta.(*reader).dumpBits: @ bit 00481 (byte 060 + 1) | binary: 0 | uint8: ERR | handle: ERR | var32: ERR | varu32: ERR | varu64: ERR | ubitvar: 2 | float32: ERR | byte: ERR | string: ERR
manta.(*reader).dumpBits: @ bit 00482 (byte 060 + 2) | binary: 1 | uint8: ERR | handle: ERR | var32: ERR | varu32: ERR | varu64: ERR | ubitvar: 1 | float32: ERR | byte: ERR | string: ERR
manta.(*reader).dumpBits: @ bit 00483 (byte 060 + 3) | binary: 0 | uint8: ERR | handle: ERR | var32: ERR | varu32: ERR | varu64: ERR | ubitvar: ERR | float32: ERR | byte: ERR | string: ERR
manta.(*reader).dumpBits: @ bit 00484 (byte 060 + 4) | binary: 0 | uint8: ERR | handle: ERR | var32: ERR | varu32: ERR | varu64: ERR | ubitvar: ERR | float32: ERR | byte: ERR | string: ERR
manta.(*reader).dumpBits: @ bit 00485 (byte 060 + 5) | binary: 0 | uint8: ERR | handle: ERR | var32: ERR | varu32: ERR | varu64: ERR | ubitvar: ERR | float32: ERR | byte: ERR | string: ERR
manta.(*reader).dumpBits: @ bit 00486 (byte 060 + 6) | binary: 0 | uint8: ERR | handle: ERR | var32: ERR | varu32: ERR | varu64: ERR | ubitvar: ERR | float32: ERR | byte: ERR | string: ERR
manta.(*reader).dumpBits: @ bit 00487 (byte 060 + 7) | binary: 0 | uint8: ERR | handle: ERR | var32: ERR | varu32: ERR | varu64: ERR | ubitvar: ERR | float32: ERR | byte: ERR | string: ERR
--- FAIL: TestReadProperties (0.23 seconds)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment