Documentation ¶
Index ¶
- Constants
- Variables
- type BCpApp
- type ChanConfig
- type Change
- type Commander
- type DateTime
- type Dujason
- type Event
- type EventSrc
- type FsdJump
- type GormID
- type Hint
- type InSysBody
- type InSysInfo
- type JeEngineering
- type JeLdoModule
- type JeLoadout
- type Location
- func (l *Location) SetMode(m Mode) (chg Change)
- func (l *Location) SetRef(r PosRef) (chg Change)
- func (l *Location) SetRefNm(nm string) (chg Change)
- func (l *Location) SetSurf(p *SurfPos) (chg Change)
- func (l *Location) SetSys(id uint64, nm string, coos []float32) (chg Change)
- func (l *Location) SetVehicle(v Vehicle) (chg Change)
- type MatState
- type Mode
- type PosRef
- type Screen
- type SlotType
- type SpeakCfg
- type Story
- type SurfPos
- type Tab
- type TmplLoader
- type Vehicle
- type VoiceMsg
- type WebPage
- type WuiHdr
- type WuiMsg
- type WuiUpdate
Constants ¶
View Source
const ChanJEvt = "jevt"
View Source
const JumpMax = 51
View Source
const (
TLSCommonName = "de.fractalqb.bcplus.app"
)
Variables ¶
View Source
var ( App BCpApp LogWrs = []io.Writer{os.Stderr, &webLog} LogCfg = qbsllm.Config(log, elogCfg, ship.LogCfg, watched.LogCfg) )
View Source
var (
EventQ = make(chan Event, 16)
)
View Source
var ( GxName = nmconv.Conversion{ Norm: nmconv.Uncamel, Xform: nmconv.PerSegment(strings.ToLower), Denorm: nmconv.Sep(nmconv.Lisp), } )
Functions ¶
This section is empty.
Types ¶
type BCpApp ¶
type ChanConfig ¶
type ChanConfig struct { Flags []string Black []string White []string // contains filtered or unexported fields }
func (*ChanConfig) Filter ¶
func (cc *ChanConfig) Filter(msg string) bool
type Commander ¶
type Commander struct { Fid string Name string Loc Location Ship ship.ShipRef OnScreenShot ggja.GenArr Mats map[string]MatState `json:"MatNeed"` Rcps map[string]int `json:"RcpNeed"` JumpHist []FsdJump JumpW int // contains filtered or unexported fields }
func NewCommander ¶
type EventSrc ¶
type EventSrc rune
const ( ESRC_JOURNAL EventSrc = watched.EscrJournal ESRC_JSTATUS EventSrc = watched.EscrStatus ESRC_WEBUI = 'u' )
type JeEngineering ¶
type JeLdoModule ¶
type JeLdoModule struct { Slot string Item string Engineering *JeEngineering `json:",omitempty"` }
func (*JeLdoModule) Type ¶
func (m *JeLdoModule) Type() SlotType
type JeLoadout ¶
type JeLoadout struct { Ts time.Time `json:"timestamp"` CargoCapacity int HullHealth int HullValue int64 Rebuy int64 MaxJumpRange float64 Ship string UnladenMass float64 ShipID int ModulesValue int64 ShipIdent string ShipName string FuelCapacity struct { Reserve float64 Main int } Modules []JeLdoModule }
type Location ¶
type Location struct { Sys galaxy.SysDesc Ref PosRef RefNm string Vhcl Vehicle Mode Mode Surf *SurfPos `json:",omitempty"` }
func (*Location) SetVehicle ¶
type SpeakCfg ¶
type SpeakCfg struct { Cmd string Flags []string OldChat Dujason ChanCfg map[string]*ChanConfig }
type TmplLoader ¶
type TmplLoader struct {
// contains filtered or unexported fields
}
func NewTmplLoader ¶
func NewTmplLoader(dir string) *TmplLoader
Click to show internal directories.
Click to hide internal directories.