Documentation ¶
Index ¶
- Constants
- Variables
- func DataDir() (string, error)
- func LaunchProcess(ctx context.Context, creds *api.LoginSuccessPayload) error
- func RunGLFW()
- func RunMintInfoManager(statusTracker *StatusTracker)
- func ShouldDownload(spec *api.ManifestEntry) bool
- func ShowMintInfo(ctx context.Context, info MintInfo) error
- func ShutdownGLFW()
- func SyncGameData(ctx context.Context, client api.DownloadClient) error
- func UpsertDataDir() (string, error)
- type ActiveZone
- type EnterRequestStatus
- type MintInfo
- type StatusTracker
Constants ¶
View Source
const ( CoinMintId = 12500 DollarMintId = 12600 BullionMintId = 12700 )
View Source
const Executable = "TTREngine"
Variables ¶
View Source
var MintMaps embed.FS
Functions ¶
func LaunchProcess ¶
func LaunchProcess(ctx context.Context, creds *api.LoginSuccessPayload) error
func RunMintInfoManager ¶
func RunMintInfoManager(statusTracker *StatusTracker)
func ShouldDownload ¶
func ShouldDownload(spec *api.ManifestEntry) bool
func ShutdownGLFW ¶
func ShutdownGLFW()
func SyncGameData ¶
func SyncGameData(ctx context.Context, client api.DownloadClient) error
func UpsertDataDir ¶
Types ¶
type ActiveZone ¶
type ActiveZone struct { Request EnterRequestStatus ZoneLogs chan string // buffered channel of lines }
type EnterRequestStatus ¶
type EnterRequestStatus struct { Loader string `json:"loader"` Where string `json:"where"` How string `json:"how"` ZoneId *int64 `json:"zoneId,omitempty"` HoodId *int64 `json:"hoodId,omitempty"` ShardId *int64 `json:"shardId,omitempty"` AvId *int64 `json:"avId,omitempty"` MintId *int64 `json:"mintId,omitempty"` }
func (EnterRequestStatus) String ¶
func (e EnterRequestStatus) String() string
type MintInfo ¶
func ScanForMintInfo ¶
type StatusTracker ¶
type StatusTracker struct { C chan *ActiveZone // contains filtered or unexported fields }
func NewStatusTracker ¶
func NewStatusTracker(logStream io.Reader) *StatusTracker
func (*StatusTracker) Run ¶
func (r *StatusTracker) Run()
Click to show internal directories.
Click to hide internal directories.