usertools

package
v0.0.0-...-c4db811 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2018 License: MIT Imports: 5 Imported by: 14

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFriends

func GetFriends(u *consts.User) []uint32

GetFriends return a array of friend userids!

func GetLeaderboard

func GetLeaderboard(u *consts.User, playMode byte) *consts.Leaderboard

GetLeaderboard is getting the Leaderboard of the Database!

func GetLeaderboardPosition

func GetLeaderboardPosition(u *consts.User, playMode byte) uint32

GetLeaderboardPosition is used to get the leaderboard position.

func GetUser

func GetUser(userid *uint32) *consts.User

GetUser returns a User based on the Defined UserID

func GetUserID

func GetUserID(username string) *uint32

GetUserID Returns a UserID of the given UserName

Types

This section is empty.

Jump to

Keyboard shortcuts

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