Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Download ¶
type Download struct { Url string Filename string Progress chan DownloadInfo // contains filtered or unexported fields }
type DownloadInfo ¶
type DownloadStatus ¶
type DownloadStatus int
const ( NotDownloaded DownloadStatus = iota Downloading Downloaded )
type Manager ¶
type Manager struct { DownloadDir string Unlocks []*Unlock // contains filtered or unexported fields }
func NewManager ¶
func (*Manager) HasPending ¶
func (*Manager) SetUpdateCallback ¶
type Unlock ¶
type Unlock struct { DownloadUrl string RpgName string QuestTitle string SongDescriptions []string DownloadStatus DownloadStatus DownloadError error DownloadSize int64 DownloadProgress int64 Users []*UserData // contains filtered or unexported fields }
func (*Unlock) QueueDownload ¶
func (unlock *Unlock) QueueDownload()
func (*Unlock) QueueRefresh ¶
func (unlock *Unlock) QueueRefresh()
func (*Unlock) QueueUnpack ¶
type UnpackStatus ¶
type UnpackStatus int
const ( NotUnpacked UnpackStatus = iota Unpacking Unpacked )
type UserData ¶
type UserData struct { ProfileName string UnpackStatus UnpackStatus UnpackError error }
Click to show internal directories.
Click to hide internal directories.