rbxclip

package module
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2021 License: MIT Imports: 4 Imported by: 0

README

GoDoc

rbxclip

The rbxclip package can be used to read and write Roblox instances to and from the clipboard. Data written to the clipboard is compatible with Roblox Studio.

Documentation

Overview

Package rbxclip reads and writes Roblox instances to and from the clipboard. Data written to the clipboard is compatible with Roblox Studio.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get() *rbxfile.Root

Get reads instances from the clipboard, decoding them to a rbxfile.Root. A nil value is returned if the clipboard contains no instances, or is unable to read them.

func Has

func Has() bool

Has returns whether or not there are instances in the clipboard. Returns false if the call fails.

func Set

func Set(root *rbxfile.Root) bool

Set writes instances to the clipboard, encoding from a rbxfile.Root. Passing nil will simply clear the clipboard. Returns whether or not the call was successful.

Types

This section is empty.

Jump to

Keyboard shortcuts

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