Documentation
¶
Index ¶
Constants ¶
View Source
const FIELDS_ANGLES int32 = 1 << 1
View Source
const FIELDS_ORIGIN int32 = 1 << 0
View Source
const FIELDS_VELOCITY int32 = 1 << 2
Variables ¶
Functions ¶
func InitPlayer ¶
func InitPlayer(initFrame FrameInitInfo)
func PathExists ¶
func WriteToBuf ¶
func WriteToBuf(key string, data interface{})
func WriteToRecFile ¶
Types ¶
type FrameInfo ¶
type FrameInfo struct { PlayerButtons int32 PlayerImpulse int32 ActualVelocity [3]float32 PredictedVelocity [3]float32 PredictedAngles [2]float32 CSWeaponID int32 PlayerSubtype int32 PlayerSeed int32 AdditionalFields int32 // 附加信息 AtOrigin [3]float32 AtAngles [3]float32 AtVelocity [3]float32 }
replay frame
type FrameInitInfo ¶
Click to show internal directories.
Click to hide internal directories.