Skip to content
This repository was archived by the owner on Feb 21, 2023. It is now read-only.

Repository files navigation

RobloxAPI

Library for parsing MaximumADHD's Roblox-Client-Tracker API dumps.

Example

localReplicatedStorage=game:GetService("ReplicatedStorage")
localRobloxAPI=require(ReplicatedStorage.RobloxAPI)
localAPI=RobloxAPI()
localclasses=API:GetClasses()
print(classes.BasePart)
print(API:GetClass("BasePart")) -- Identical to above--[[ These will include deprecated members but will exclude members not accessible by the current script identity.]]print(API:GetProperties(workspace))
print(API:GetFunctions(workspace))
print(API:GetEvents(workspace))
-- To get members not accessible by the current script identityprint(API:GetClass("BasePart"):GetProperties())
print(API:GetClass("BasePart"):GetFunctions())
print(API:GetClass("BasePart"):GetEvents())

Members

-- All members have the following properties & methodslocalmember=API:GetClass("Instance"):GetProperties().Nameprint(member.Name) --> "Name"print(member.MemberType) --> "Property"print(member.ThreadSafety) --> "ReadSafe"print(member:IsA("Property")) --> trueprint(member:GetTags()) --> string[]print(member:HasTag("Deprecated")) --> false-- Short-hand methods for HasTag()print(member:IsDeprecated()) --> falseprint(member:IsReadOnly()) --> falseprint(member:IsReplicated()) --> trueprint(member:IsScriptable()) --> trueprint(member:GetReadSecurity()) --> "None"print(member:GetWriteSecurity()) --> "None"

Property members

localmember=API:GetClass("Instance"):GetProperties().Nameprint(member:GetValueType()) --> { Category: string, Name: string }print(member:GetCategory()) --> Stringprint(member:CanLoad()) --> trueprint(member:CanSave()) --> true

Function members

localmember=API:GetClass("Instance"):GetFunctions().Destroyprint(member:Yields()) --> falseprint(member:GetParameters()) --> { Category: string, Name: string }[]print(member:GetReturnType()) --> { Category: string, Name: string }

Event members

localmember=API:GetClass("Instance"):GetFunctions().Changedprint(member:GetParameters()) --> { Category: string, Name: string }[]

About

Parser for Roblox API dumps

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages