roblox

package
v0.0.0-...-0e49e4a Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AuthenticateErrors = struct {
	ErrAuthorizationDenied error
}{
	ErrAuthorizationDenied: errors.New("invalid cookie"),
}
View Source
var (
	ErrNoWarning = errors.New("include the .ROBLOSECURITY warning")
)

Functions

This section is empty.

Types

type Client

type Client struct {
	Cookie   string
	UserInfo UserInfo
	// contains filtered or unexported fields
}

func NewClient

func NewClient(cookie string) (*Client, error)

func (*Client) DoRequest

func (c *Client) DoRequest(req *http.Request) (*http.Response, error)

func (*Client) GetAssetLocation

func (c *Client) GetAssetLocation(id int64, assetTypeID int32) (string, error)

func (*Client) GetToken

func (c *Client) GetToken() string

func (*Client) ReuploadSound

func (c *Client) ReuploadSound(body io.Reader, placeID int64) (int64, error)

KRİTİK EKLENTİ: SES YÜKLEME FONKSİYONUNUN TAM UYGULAMASI

func (*Client) SetCookie

func (c *Client) SetCookie(cookie string) error

func (*Client) SetToken

func (c *Client) SetToken(s string)

type UserInfo

type UserInfo struct {
	ID          int64  `json:"id"`
	Username    string `json:"username"`
	DisplayName string `json:"displayName"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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