Versions in this module Expand all Collapse all v0 v0.5.2-beta May 11, 2023 v0.5.1-beta May 8, 2023 v0.5.0-beta Apr 29, 2023 v0.4.0 Mar 8, 2023 Changes in this version + const StDirt + const StIdle + const StIngame + const StMenu + const StPreview type Instance + func NewInstance(info InstanceInfo, conf *cfg.Profile, x *x11.Client) Instance + func (i *Instance) Click() error + func (i *Instance) Focus() + func (i *Instance) FocusAndUnpause(timestamp xproto.Timestamp, idle bool) + func (i *Instance) PressEsc(timestamp xproto.Timestamp) + func (i *Instance) PressF3(timestamp xproto.Timestamp) + func (i *Instance) PressF3Esc(timestamp xproto.Timestamp) + func (i *Instance) Stretch(conf cfg.Profile) error + func (i *Instance) Unstretch(conf cfg.Profile) error + type InstanceInfo struct + Dir string + Id int + Pid uint32 + ResetKey x11.Key + Version int + Wid xproto.Window + func FindInstances(x *x11.Client) ([]InstanceInfo, error) type InstanceState + Progress int + State int v0.4.0-beta3 Feb 1, 2023 v0.4.0-beta2 Jan 30, 2023 v0.3.1 Aug 2, 2022 Changes in this version + const StateGenerating + const StateIngame + const StatePreview + const StateReady + const StateUnknown + type Instance struct + Dir string + Id int + Pid uint32 + State InstanceState + Version Version + Window xproto.Window + func GetInstances() ([]Instance, error) + func (i Instance) Reset(settings *cfg.Config, t xproto.Timestamp) (xproto.Timestamp, error) + type InstanceState struct + Identifier int + Spawn Position + func (i InstanceState) String() string + type Position struct + X float64 + Z float64 + type Version int + const Version1_14 + const Version1_15 + const Version1_16 + const Version1_7 + const Version1_8 + const VersionUnknown + func (v Version) String() string v0.3.0-beta Jul 25, 2022