util

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoesPathExist

func DoesPathExist(path string) (bool, error)

func GetIcon

func GetIcon(s string) []byte

func GrabRobloxProcess

func GrabRobloxProcess() string

Types

type MarketPlaceInfo

type MarketPlaceInfo struct {
	Name        string `json:"Name"`
	Description string `json:"Description"`
	Creator     struct {
		Id              int    `json:"Id"`
		Name            string `json:"Name"`
		CreatorType     string `json:"CreatorType"`
		CreatorTargetId int    `json:"CreatorTargetId"`
	} `json:"Creator"`
	IconImageAssetId int64 `json:"IconImageAssetId"`
}

func GetPlaceInfoByPlaceId

func GetPlaceInfoByPlaceId(placeId string) *MarketPlaceInfo

type RBLXError

type RBLXError struct {
	Errors []struct {
		Code    int    `json:"code"`
		Message string `json:"message"`
	} `json:"errors"`
}

type RBLXPlayer

type RBLXPlayer struct {
	Description            string      `json:"description"`
	Created                time.Time   `json:"created"`
	IsBanned               bool        `json:"isBanned"`
	ExternalAppDisplayName interface{} `json:"externalAppDisplayName"`
	HasVerifiedBadge       bool        `json:"hasVerifiedBadge"`
	ID                     int         `json:"id"`
	Name                   string      `json:"name"`
	DisplayName            string      `json:"displayName"`
}

func GetUserDetails

func GetUserDetails(userId string) *RBLXPlayer

type RBLXReturnData

type RBLXReturnData struct {
	Data []struct {
		TargetID int64  `json:"targetId"`
		State    string `json:"state"`
		ImageURL string `json:"imageUrl"`
	} `json:"data"`
}

func GetIconByPlaceId

func GetIconByPlaceId(placeId string) *RBLXReturnData

func GetUserIcon

func GetUserIcon(userId string) *RBLXReturnData

Jump to

Keyboard shortcuts

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