leaderboards

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 13, 2025 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LeaderboardModule

type LeaderboardModule struct {
	LBSize            int
	GoldEnabled       bool
	ExperienceEnabled bool
	KillsEnabled      bool

	LB_Gold       leaderboardData `yaml:"LB_Gold,omitempty"`
	LB_Experience leaderboardData `yaml:"LB_Experience,omitempty"`
	LB_Kills      leaderboardData `yaml:"LB_Kills,omitempty"`
	// contains filtered or unexported fields
}

Using a struct gives a way to store longer term data.

func (*LeaderboardModule) RefreshConfig

func (l *LeaderboardModule) RefreshConfig()

func (*LeaderboardModule) Reset

func (l *LeaderboardModule) Reset(maxSize int)

func (*LeaderboardModule) Update

func (l *LeaderboardModule) Update()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL