Documentation ¶
Index ¶
- type Location
- type Player
- func (p *Player) AddScore(score int32)
- func (p *Player) Auto() bool
- func (p *Player) AutoTs() time.Duration
- func (p *Player) Extend(key string) interface{}
- func (p *Player) Line() bool
- func (p *Player) Location() *Location
- func (p *Player) Offline(ts int64)
- func (p *Player) OfflineTs() int64
- func (p *Player) Online()
- func (p *Player) Op() bool
- func (p *Player) Ready() bool
- func (p *Player) Score(index int) int32
- func (p *Player) SetAuto(b bool)
- func (p *Player) SetAutoTs(ts time.Duration)
- func (p *Player) SetExtend(key string, val interface{})
- func (p *Player) SetLocation(location *Location)
- func (p *Player) SetOp(b bool)
- func (p *Player) SetReady(b bool)
- func (p *Player) SetSite(site uint32)
- func (p *Player) SetView(b bool)
- func (p *Player) Site() uint32
- func (p *Player) View() bool
- func (p *Player) WatchAuto(f func(*Player))
- func (p *Player) WatchAutoTs(f func(*Player))
- func (p *Player) WatchExtend(f func(*Player))
- func (p *Player) WatchLine(f func(*Player))
- func (p *Player) WatchLocation(f func(*Player))
- func (p *Player) WatchOp(f func(*Player))
- func (p *Player) WatchReady(f func(*Player))
- func (p *Player) WatchScore(f func(*Player))
- func (p *Player) WatchSite(f func(*Player))
- func (p *Player) WatchView(f func(*Player))
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Player ¶
type Player struct {
// contains filtered or unexported fields
}
func (*Player) SetLocation ¶
func (*Player) WatchAutoTs ¶
func (*Player) WatchExtend ¶
func (*Player) WatchLocation ¶
func (*Player) WatchReady ¶
func (*Player) WatchScore ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.