roblox

package
v1.7.4 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2024 License: GPL-3.0 Imports: 5 Imported by: 1

Documentation

Overview

Package roblox provides generic types for Roblox's internal Binary implementations.

Index

Constants

View Source
const DefaultRenderer = "D3D11"

defaultRenderer is used as the default renderer when no explicit named renderer argument has been given.

Variables

View Source
var ErrInvalidRenderer = errors.New("invalid renderer given")

Functions

func ValidRenderer added in v1.4.3

func ValidRenderer(renderer string) bool

ValidRenderer determines if the named renderer is part of the available supported Roblox renderer backends, used in SetRenderer.

Types

type BinaryType

type BinaryType int

BinaryType is a representation of available Roblox applications aka. Binaries

const (
	Player BinaryType = iota
	Studio
)

func (BinaryType) BinaryName added in v1.5.0

func (bt BinaryType) BinaryName() string

BinaryName returns Roblox's internal API name for the named BinaryType

Does not support platforms other than Windows.

func (BinaryType) Executable

func (bt BinaryType) Executable() string

Executable returns the executable file name for the named BinaryType

Does not support platforms other than Windows.

func (BinaryType) String

func (bt BinaryType) String() string

type FFlags

type FFlags map[string]interface{}

FFlags is Roblox's Fast Flags implemented in map form.

func (FFlags) Apply

func (f FFlags) Apply(versionDir string) error

Apply creates and compiles the FFlags file and directory in the named versionDir.

func (FFlags) SetRenderer

func (f FFlags) SetRenderer(renderer string) error

SetRenderer sets the named renderer to the FFlags, by disabling all other unused renderers.

Directories

Path Synopsis
Package api provides API routines to interact with Roblox's web API.
Package api provides API routines to interact with Roblox's web API.
Package bootstrapper implements various routines and types to install or bootstrap a Roblox Binary.
Package bootstrapper implements various routines and types to install or bootstrap a Roblox Binary.

Jump to

Keyboard shortcuts

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