Documentation ¶
Index ¶
- Constants
- func BHop(mem *memory.Editor, activate bool)
- func DrawBones(canvas *render.DrawingCanvas, ps *PlayerStore, viewMatrix memory.CSMatrix, ...)
- func DrawNames(canvas *render.DrawingCanvas, ps *PlayerStore, vm memory.CSMatrix, ...)
- func GetViewMatrix(editor *memory.Editor) (memory.CSMatrix, error)
- func RunConfigEndpoint(masterConfig *Config)
- func ServeWebGUI()
- func WatchConfig(masterConfig *Config)
- func WorldToScreen(world memory.Vector3, w2s [4][4]float32) memory.Vector2
- type Config
- type FieldValuePair
- type Player
- type PlayerStore
- type Queue
Constants ¶
View Source
const ( ColorModeHealth = iota ColorModeTeam = iota )
View Source
const ( Hitbox_Head = iota Hitbox_Neck = iota Hitbox_Pelvis = iota Hitbox_Stomach = iota Hitbox_Chest = iota Hitbox_Lower_Chest = iota Hitbox_Upper_Chest = iota Hitbox_Right_Thigh = iota Hitbox_Left_Thigh = iota Hitbox_Right_Calf = iota Hitbox_Left_Calf = iota Hitbox_Right_Foot = iota Hitbox_Left_Foot = iota Hitbox_Right_Hand = iota Hitbox_Left_Hand = iota Hitbox_Right_Upper_Arm = iota Hitbox_Right_Lower_Arm = iota Hitbox_Left_Upper_Arm = iota Hitbox_Left_Lower_Arm = iota Hitbox_Last = iota )
Variables ¶
This section is empty.
Functions ¶
func DrawBones ¶
func DrawBones(canvas *render.DrawingCanvas, ps *PlayerStore, viewMatrix memory.CSMatrix, windowSize types.WindowRect, colorMode int)
func DrawNames ¶
func DrawNames(canvas *render.DrawingCanvas, ps *PlayerStore, vm memory.CSMatrix, colorMode int)
func RunConfigEndpoint ¶
func RunConfigEndpoint(masterConfig *Config)
func ServeWebGUI ¶
func ServeWebGUI()
func WatchConfig ¶
func WatchConfig(masterConfig *Config)
Types ¶
type Config ¶
type Config struct { Toggles struct { Bhop bool `json:"bhop"` Name bool `json:"name"` Skeleton bool `json:"skeleton"` } `json:"toggles"` ColorModes struct { Name int `json:"name"` Skeleton int `json:"skeleton"` } `json:"colorModes"` SeeTeammates struct { Name bool `json:"name"` Skeleton bool `json:"skeleton"` } `json:"seeTeammates"` }
func InitConfig ¶
func InitConfig() *Config
type FieldValuePair ¶
type FieldValuePair struct { Field string Value interface{} }
type PlayerStore ¶
type PlayerStore struct { Players []Player // contains filtered or unexported fields }
func NewPlayerStore ¶
func NewPlayerStore(maxPlayers int32) *PlayerStore
func (PlayerStore) UpdateAllPlayers ¶
func (ps PlayerStore) UpdateAllPlayers(editor *memory.Editor)
Click to show internal directories.
Click to hide internal directories.