File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -37,11 +37,11 @@ type Player struct {
3737 AmmoLeft [32 ]int // Ammo left for special weapons (e.g. grenades), index corresponds Equipment.AmmoType
3838 Entity st.IEntity
3939 AdditionalPlayerInformation * AdditionalPlayerInformation // Mostly scoreboard information such as kills, deaths, etc.
40- ViewDirectionX float32
41- ViewDirectionY float32
42- FlashDuration float32 // Blindness duration from the flashbang currently affecting the player (seconds)
43- FlashTick int // In-game tick at which the player was last flashed
44- TeamState * TeamState // When keeping the reference make sure you notice when the player changes teams
40+ ViewDirectionX float32 // Yaw in degrees, 0 to 360
41+ ViewDirectionY float32 // Pitch in degrees, 270 to 90 (270=-90)
42+ FlashDuration float32 // Blindness duration from the flashbang currently affecting the player (seconds)
43+ FlashTick int // In-game tick at which the player was last flashed
44+ TeamState * TeamState // When keeping the reference make sure you notice when the player changes teams
4545 Team Team
4646 IsBot bool // True if this is a bot-entity. See also IsControllingBot and ControlledBot().
4747 IsConnected bool
You can’t perform that action at this time.
0 commit comments