Microshart 11

This commit is contained in:
maji
2026-01-05 21:44:52 +07:00
parent dfefa5ff12
commit 298e473b8c
143 changed files with 221 additions and 7 deletions

View File

@@ -68,7 +68,8 @@ for (const yamlFile of yamlFiles) {
appendLine("")
if (c.IsStatic) {
appendLine(`{{ staticclass(${c.Name.replace("Service", "")}) }}`)
appendLine("")
appendLine(`{{ staticclass(${c.StaticAlias ? `"${c.StaticAlias}"` : ""}) }}`)
appendLine("")
}

14
main.py
View File

@@ -122,10 +122,18 @@ def define_env(env):
</div>"""
@env.macro
def staticclass(className):
return """<div data-search-exclude markdown>
def staticclass(className = ""):
if className != "":
return """<div data-search-exclude markdown>
!!! tip "Static Class"
This object is a static class. It can be accessed by using its name as a keyword.
This object is a static class. It can be accessed like this: `%s`.
Additionally, it cannot be created in the creator menu or with `Instance.New()`.
</div>""" % (className)
else:
return """<div data-search-exclude markdown>
!!! tip "Static Class"
This object is a static class.
Additionally, it cannot be created in the creator menu or with `Instance.New()`.
</div>"""

View File

@@ -12,5 +12,6 @@ Events: []
IsStatic: false
IsAbstract: false
IsInstantiatable: true
StaticAlias: null
Description: Accessory represents a attachable object that can be equipped by a
CharacterModel.

View File

@@ -93,4 +93,5 @@ Events:
IsStatic: true
IsAbstract: false
IsInstantiatable: false
StaticAlias: Achievements
Description: Service for managing achievements

View File

@@ -6,4 +6,5 @@ Events: []
IsStatic: false
IsAbstract: false
IsInstantiatable: true
StaticAlias: null
Description: WIP class

View File

@@ -42,4 +42,5 @@ Events: []
IsStatic: false
IsAbstract: false
IsInstantiatable: true
StaticAlias: null
Description: WIP class

View File

@@ -1,4 +1,4 @@
Name: AssetService
Name: AssetsService
BaseType: Instance
Properties: []
Methods:
@@ -50,4 +50,5 @@ Events: []
IsStatic: true
IsAbstract: false
IsInstantiatable: false
Description: Service for managing assets
StaticAlias: Assets
Description: Service for managing/creating assets

View File

@@ -6,4 +6,5 @@ Events: []
IsStatic: false
IsAbstract: true
IsInstantiatable: false
StaticAlias: null
Description: Abstract class for audio

View File

@@ -6,4 +6,5 @@ Events: []
IsStatic: false
IsAbstract: true
IsInstantiatable: false
StaticAlias: null
Description: Base class for all assets

View File

@@ -22,5 +22,6 @@ Events:
IsStatic: false
IsAbstract: false
IsInstantiatable: true
StaticAlias: null
Description: BindableEvent are events that can be called to communicate between
scripts in the same boundary.

View File

@@ -25,5 +25,6 @@ Events: []
IsStatic: false
IsAbstract: false
IsInstantiatable: true
StaticAlias: null
Description: BodyPosition are objects that apply a force to their parent until
it moves toward the target position.

View File

@@ -12,4 +12,5 @@ Events: []
IsStatic: false
IsAbstract: false
IsInstantiatable: true
StaticAlias: null
Description: BoolValue is a ValueBase that stores a boolean.

View File

@@ -188,4 +188,5 @@ Events: []
IsStatic: false
IsAbstract: false
IsInstantiatable: false
StaticAlias: null
Description: Represents a bounding box in 3D space.

View File

@@ -12,4 +12,5 @@ Events: []
IsStatic: false
IsAbstract: false
IsInstantiatable: true
StaticAlias: null
Description: Audio asset that's built-in with the client

View File

@@ -12,4 +12,5 @@ Events: []
IsStatic: false
IsAbstract: false
IsInstantiatable: true
StaticAlias: null
Description: Font asset that's built-in with the client

View File

@@ -258,4 +258,5 @@ Events:
IsStatic: false
IsAbstract: false
IsInstantiatable: true
StaticAlias: null
Description: Camera is a class that represents the local player's camera.

View File

@@ -74,4 +74,5 @@ Events: []
IsStatic: true
IsAbstract: false
IsInstantiatable: false
StaticAlias: Capture
Description: Service for capturing photos

View File

@@ -23,4 +23,5 @@ Events: []
IsStatic: false
IsAbstract: false
IsInstantiatable: true
StaticAlias: null
Description: Base class for Character Models

View File

@@ -45,4 +45,5 @@ Events:
IsStatic: true
IsAbstract: false
IsInstantiatable: false
StaticAlias: Chat
Description: Chat is a static class used for various actions regarding the chat.

View File

@@ -6,5 +6,6 @@ Events: []
IsStatic: false
IsAbstract: false
IsInstantiatable: true
StaticAlias: null
Description: ClientScript is a script that runs locally for each player. It can
only see what the player can see.

View File

@@ -127,6 +127,7 @@ Events: []
IsStatic: false
IsAbstract: false
IsInstantiatable: false
StaticAlias: null
Description: >-
Color is a data type that represents a color.

View File

@@ -30,5 +30,6 @@ Events: []
IsStatic: false
IsAbstract: false
IsInstantiatable: true
StaticAlias: null
Description: ColorAdjustModifier is a LightingModifier that allows the
adjustment of lighting

View File

@@ -30,6 +30,13 @@ Methods:
IsObsolete: false
IsStatic: true
Description: Create color series by this color range
- Name: Clear
ReturnType: nil
Parameters: []
IsAsync: false
IsObsolete: false
IsStatic: false
Description: Missing Documentation
- Name: SetColor
ReturnType: nil
Parameters:
@@ -108,5 +115,6 @@ Events: []
IsStatic: false
IsAbstract: false
IsInstantiatable: false
StaticAlias: null
Description: Color series is a data type that represents a collection of color
and points, also known as gradient.

View File

@@ -12,4 +12,5 @@ Events: []
IsStatic: false
IsAbstract: false
IsInstantiatable: true
StaticAlias: null
Description: ColorValue is an object that holds a Color value.

View File

@@ -55,4 +55,5 @@ Events: []
IsStatic: true
IsAbstract: false
IsInstantiatable: false
StaticAlias: CoreUI
Description: CoreUI is a static class that allows for the toggling of certain core GUI.

View File

@@ -6,6 +6,7 @@ Events: []
IsStatic: true
IsAbstract: false
IsInstantiatable: false
StaticAlias: CreatorContext
Description: CreatorContextService is a service that manage per game specific
tools, such as Selections and History. This class is only available in the
creator.

View File

@@ -3,8 +3,9 @@ BaseType: PlayerGUI
Properties: []
Methods: []
Events: []
IsStatic: false
IsStatic: true
IsAbstract: false
IsInstantiatable: false
StaticAlias: PlayerGUI
Description: CreatorGUI is an object that allows GUI to overlay on top of the
viewport in the creator. This class is only available in the creator.

View File

@@ -46,5 +46,6 @@ Events: []
IsStatic: false
IsAbstract: false
IsInstantiatable: false
StaticAlias: null
Description: CreatorHistory is a class that manages history (undo-redo) of this
game instance. This class is only available in the creator.

View File

@@ -60,5 +60,6 @@ Events: []
IsStatic: false
IsAbstract: false
IsInstantiatable: false
StaticAlias: null
Description: CreatorInterface represent the user interface of the creator. This
class is only available in the creator.

View File

@@ -68,5 +68,6 @@ Events: []
IsStatic: false
IsAbstract: false
IsInstantiatable: false
StaticAlias: null
Description: CreatorSelections is an object that manages selections in the game
instance. This class is only available in the creator.

View File

@@ -36,5 +36,6 @@ Events:
IsStatic: true
IsAbstract: false
IsInstantiatable: false
StaticAlias: Creator
Description: CreatorService is the class that manages the creator. This class is
only available in the creator.

View File

@@ -53,4 +53,5 @@ Events:
IsStatic: false
IsAbstract: false
IsInstantiatable: false
StaticAlias: null
Description: Datastore is an object that represent datastore connection.

View File

@@ -17,5 +17,6 @@ Events: []
IsStatic: true
IsAbstract: false
IsInstantiatable: false
StaticAlias: Datastore
Description: Datastore (not to be confused with the Datastore data type) is a
service used for storing data between place sessions.

View File

@@ -24,5 +24,6 @@ Events: []
IsStatic: false
IsAbstract: false
IsInstantiatable: true
StaticAlias: null
Description: Decals are objects that can have an image texture and are wrapped
around other objects.

View File

@@ -43,6 +43,12 @@ Properties:
IsReadOnly: false
IsObsolete: false
Description: The rotation of the object represented as a quaternion.
- Name: LocalQuaternion
Type: Quaternion
IsAccessibleByScripts: true
IsReadOnly: false
IsObsolete: false
Description: Missing Documentation
- Name: Locked
Type: boolean
IsAccessibleByScripts: true
@@ -212,5 +218,6 @@ Events: []
IsStatic: false
IsAbstract: false
IsInstantiatable: true
StaticAlias: null
Description: Dynamic is the base class where all objects with a position,
rotation and scale derive from.

View File

@@ -139,5 +139,6 @@ Events: []
IsStatic: false
IsAbstract: true
IsInstantiatable: false
StaticAlias: null
Description: Entity represents a physics object that's related to building
blocks (inherited by Part and Mesh)

View File

@@ -143,5 +143,6 @@ Events: []
IsStatic: true
IsAbstract: false
IsInstantiatable: false
StaticAlias: Environment
Description: Environment is the primary object intended for storing active
objects in the place.

View File

@@ -51,5 +51,6 @@ Events:
IsStatic: false
IsAbstract: false
IsInstantiatable: true
StaticAlias: null
Description: Explosion is a deadly explosion killing players and applying force
to parts at the given position.

View File

@@ -12,4 +12,5 @@ Events: []
IsStatic: false
IsAbstract: false
IsInstantiatable: true
StaticAlias: null
Description: Represents a link to a file path in the file system

View File

@@ -17,4 +17,5 @@ Events: []
IsStatic: true
IsAbstract: false
IsInstantiatable: false
StaticAlias: Filter
Description: FilterService is a service which processes and filter user inputs

View File

@@ -6,4 +6,5 @@ Events: []
IsStatic: false
IsAbstract: false
IsInstantiatable: true
StaticAlias: null
Description: Folder is similar to a model, used for storing objects in the place.

View File

@@ -6,4 +6,5 @@ Events: []
IsStatic: false
IsAbstract: true
IsInstantiatable: false
StaticAlias: null
Description: Base class for font assets

View File

@@ -6,4 +6,5 @@ Events: []
IsStatic: false
IsAbstract: false
IsInstantiatable: true
StaticAlias: null
Description: GUI is a class that is used to create a GUI.

View File

@@ -31,4 +31,5 @@ Events: []
IsStatic: false
IsAbstract: false
IsInstantiatable: true
StaticAlias: null
Description: GUI3D is a class that allows GUI to be displayed in a 3D space.

View File

@@ -45,5 +45,6 @@ Events:
IsStatic: true
IsAbstract: false
IsInstantiatable: false
StaticAlias: null
Description: Game is the root object in the Polytoria instance tree. It is the
object from which everything is descended.

View File

@@ -59,5 +59,6 @@ Events:
IsStatic: false
IsAbstract: false
IsInstantiatable: true
StaticAlias: null
Description: Grabbable represents a object that can be dragged by user. It can
be parented to Physical to give user ability to drag that object.

View File

@@ -78,4 +78,5 @@ Events: []
IsStatic: false
IsAbstract: false
IsInstantiatable: true
StaticAlias: null
Description: GradientSky is a class that is used to set a gradient skybox in the world.

View File

@@ -6,4 +6,5 @@ Events: []
IsStatic: false
IsAbstract: false
IsInstantiatable: false
StaticAlias: null
Description: Hidden is a object used for hiding instances.

View File

@@ -38,4 +38,5 @@ Events: []
IsStatic: false
IsAbstract: false
IsInstantiatable: false
StaticAlias: null
Description: HttpRequestData represents the data required to construct an HTTP request

View File

@@ -31,4 +31,5 @@ Events: []
IsStatic: false
IsAbstract: false
IsInstantiatable: false
StaticAlias: null
Description: HttpResponseData represents the result of an HTTP request.

View File

@@ -108,4 +108,5 @@ Events: []
IsStatic: true
IsAbstract: false
IsInstantiatable: false
StaticAlias: Http
Description: Http is a service used for HTTP communications and requests.

View File

@@ -61,5 +61,6 @@ Events: []
IsStatic: true
IsAbstract: false
IsInstantiatable: false
StaticAlias: IO
Description: Class for interacting with IO in project, only usable with scripts
with the respective permission.

View File

@@ -48,4 +48,5 @@ Events: []
IsStatic: false
IsAbstract: false
IsInstantiatable: true
StaticAlias: null
Description: Decals are objects that can have an image texture and are placed in the world.

View File

@@ -6,4 +6,5 @@ Events: []
IsStatic: false
IsAbstract: true
IsInstantiatable: false
StaticAlias: null
Description: Base class for image assets

View File

@@ -6,4 +6,5 @@ Events: []
IsStatic: false
IsAbstract: false
IsInstantiatable: false
StaticAlias: null
Description: Base class for input action

View File

@@ -24,4 +24,5 @@ Events: []
IsStatic: false
IsAbstract: false
IsInstantiatable: false
StaticAlias: null
Description: InputActionAxis is a class that represents input action of axis type.

View File

@@ -31,4 +31,5 @@ Events:
IsStatic: false
IsAbstract: false
IsInstantiatable: false
StaticAlias: null
Description: InputActionButton is a class that represents input action of button type.

View File

@@ -36,4 +36,5 @@ Events: []
IsStatic: false
IsAbstract: false
IsInstantiatable: false
StaticAlias: null
Description: InputActionVector2 is a class that represents input action of Vector2 type.

View File

@@ -30,4 +30,5 @@ Events: []
IsStatic: false
IsAbstract: false
IsInstantiatable: false
StaticAlias: null
Description: InputButton is a class that represents a button KeyCode

View File

@@ -28,4 +28,5 @@ Events: []
IsStatic: false
IsAbstract: false
IsInstantiatable: false
StaticAlias: null
Description: A collection of Input Buttons

View File

@@ -179,5 +179,6 @@ Events:
IsStatic: true
IsAbstract: false
IsInstantiatable: false
StaticAlias: Input
Description: InputService is a class used for retrieving user input data, such
as the mouse and keyboard.

View File

@@ -39,5 +39,6 @@ Events: []
IsStatic: true
IsAbstract: false
IsInstantiatable: false
StaticAlias: Insert
Description: Insert is a class used for inserting user-generated models into
your game via scripts.

View File

@@ -65,6 +65,17 @@ Methods:
IsObsolete: false
IsStatic: false
Description: Finds a child of this instance by class name.
- Name: FindChildByIndex
ReturnType: Instance
Parameters:
- Name: index
Type: number
IsOptional: false
DefaultValue: ""
IsAsync: false
IsObsolete: false
IsStatic: false
Description: Missing Documentation
- Name: MoveChild
ReturnType: nil
Parameters:
@@ -233,5 +244,6 @@ Events:
IsStatic: false
IsAbstract: true
IsInstantiatable: false
StaticAlias: null
Description: Instance is the base class of all classes. Every class derives from
it and has all properties, events and functions Instance has.

View File

@@ -12,4 +12,5 @@ Events: []
IsStatic: false
IsAbstract: false
IsInstantiatable: true
StaticAlias: null
Description: InstanceValue is an object that holds an Instance value.

View File

@@ -12,4 +12,5 @@ Events: []
IsStatic: false
IsAbstract: false
IsInstantiatable: true
StaticAlias: null
Description: IntValue is an object that holds an integer value.

View File

@@ -45,4 +45,5 @@ Events:
IsStatic: false
IsAbstract: false
IsInstantiatable: true
StaticAlias: null
Description: WIP class, not functional yet

View File

@@ -6,4 +6,5 @@ Events: []
IsStatic: true
IsAbstract: false
IsInstantiatable: false
StaticAlias: null
Description: Inventory is a container for Tools, equippable by player.

View File

@@ -30,4 +30,5 @@ Events: []
IsStatic: false
IsAbstract: true
IsInstantiatable: false
StaticAlias: null
Description: Light is an abstract base class for all light objects in the world.

View File

@@ -48,6 +48,7 @@ Events: []
IsStatic: true
IsAbstract: false
IsInstantiatable: false
StaticAlias: Lighting
Description: Lighting is responsible for controlling the state of the lighting
in the place. It provides many different options for creators to enhance and
fine-tune the visuals of their worlds.

View File

@@ -6,4 +6,5 @@ Events: []
IsStatic: false
IsAbstract: true
IsInstantiatable: false
StaticAlias: null
Description: Base class for lighting modifiers

View File

@@ -18,5 +18,6 @@ Events: []
IsStatic: false
IsAbstract: false
IsInstantiatable: true
StaticAlias: null
Description: Marker3D is a object that allows marking a specific point in world.
This will hint an axis gizmo in local test and creator.

View File

@@ -93,10 +93,18 @@ Methods:
IsObsolete: false
IsStatic: false
Description: Gets a list of all animations available on the mesh.
- Name: GetAnimationInfo
ReturnType: table
Parameters: []
IsAsync: false
IsObsolete: false
IsStatic: false
Description: Missing Documentation
Events: []
IsStatic: false
IsAbstract: false
IsInstantiatable: true
StaticAlias: null
Description: Represents a part that can have custom mesh applied to it, the mesh
may be from the Polytoria Store (Hats, Tools and Heads) or user-uploaded
meshes.

View File

@@ -0,0 +1,28 @@
Name: MeshAnimationInfo
BaseType: ValueType
Properties:
- Name: Name
Type: string
IsAccessibleByScripts: true
IsReadOnly: false
IsObsolete: false
Description: Missing Documentation
- Name: Length
Type: number
IsAccessibleByScripts: true
IsReadOnly: false
IsObsolete: false
Description: Missing Documentation
- Name: IsPlaying
Type: boolean
IsAccessibleByScripts: true
IsReadOnly: false
IsObsolete: false
Description: Missing Documentation
Methods: []
Events: []
IsStatic: false
IsAbstract: false
IsInstantiatable: false
StaticAlias: null
Description: Missing Documentation

View File

@@ -6,4 +6,5 @@ Events: []
IsStatic: false
IsAbstract: true
IsInstantiatable: false
StaticAlias: null
Description: Base class for mesh assets

View File

@@ -6,5 +6,6 @@ Events: []
IsStatic: false
IsAbstract: false
IsInstantiatable: true
StaticAlias: null
Description: Model is an instance that can hold other instances, and which
transform affects its children.

View File

@@ -6,6 +6,7 @@ Events: []
IsStatic: false
IsAbstract: false
IsInstantiatable: true
StaticAlias: null
Description: ModuleScripts are specialized scripts to hold data that can be
accessed by other scripts using the require() function. It is important to
define and return a table in a ModuleScript. When the place starts, the server

View File

@@ -247,6 +247,7 @@ Events:
IsStatic: false
IsAbstract: false
IsInstantiatable: true
StaticAlias: null
Description: NPC (non-player character) is an object similar to a Player but
that can be controlled by code. Like players, it can walk and jump, and its
body part colors can be customized.

View File

@@ -221,5 +221,6 @@ Events: []
IsStatic: false
IsAbstract: false
IsInstantiatable: false
StaticAlias: null
Description: Represents a network message used for communication between clients
and servers.

View File

@@ -69,6 +69,7 @@ Events:
IsStatic: false
IsAbstract: false
IsInstantiatable: true
StaticAlias: null
Description: NetworkEvents are events that can be called to communicate between
server and client. NetMessages are the class used for sharing data between
server and client when sending NetworkEvents.

View File

@@ -103,5 +103,6 @@ Events:
IsStatic: false
IsAbstract: true
IsInstantiatable: false
StaticAlias: null
Description: NetworkedObject is a base class for all object that's synchronized
by the network.

View File

@@ -25,5 +25,6 @@ Events: []
IsStatic: false
IsAbstract: false
IsInstantiatable: false
StaticAlias: null
Description: NewServerRequestData represents the request data for a new server
instance, to be used with PlacesService.

View File

@@ -46,5 +46,6 @@ Events: []
IsStatic: false
IsAbstract: false
IsInstantiatable: false
StaticAlias: null
Description: NumberRange is a data type that represents a range between two
numbers, defined by a minimum and maximum value.

View File

@@ -12,4 +12,5 @@ Events: []
IsStatic: false
IsAbstract: false
IsInstantiatable: true
StaticAlias: null
Description: NumberValue is an object that holds a number value.

View File

@@ -12,4 +12,5 @@ Events: []
IsStatic: false
IsAbstract: false
IsInstantiatable: true
StaticAlias: null
Description: Audio asset which is loaded from Polytoria

View File

@@ -6,5 +6,6 @@ Events: []
IsStatic: false
IsAbstract: false
IsInstantiatable: false
StaticAlias: null
Description: A function that doesn't expect a return value. This will sometimes
be referred as `function`

View File

@@ -6,5 +6,6 @@ Events: []
IsStatic: false
IsAbstract: false
IsInstantiatable: false
StaticAlias: null
Description: A function that expects a return value. This will sometimes be
referred as `function`

View File

@@ -18,4 +18,5 @@ Events: []
IsStatic: false
IsAbstract: false
IsInstantiatable: true
StaticAlias: null
Description: An image asset that's loaded from Polytoria.

View File

@@ -12,4 +12,5 @@ Events: []
IsStatic: false
IsAbstract: false
IsInstantiatable: true
StaticAlias: null
Description: A mesh asset that's loaded from Polytoria.

View File

@@ -46,4 +46,5 @@ Events: []
IsStatic: false
IsAbstract: false
IsInstantiatable: false
StaticAlias: null
Description: A signal which scripts can subscribe to

View File

@@ -30,4 +30,5 @@ Events: []
IsStatic: false
IsAbstract: false
IsInstantiatable: true
StaticAlias: null
Description: Parts represent the basic building blocks of the world.

View File

@@ -73,5 +73,6 @@ Events: []
IsStatic: false
IsAbstract: false
IsInstantiatable: true
StaticAlias: null
Description: Particles represents a particle system that can be used to create
various visual effects.

View File

@@ -84,4 +84,5 @@ Events:
IsStatic: false
IsAbstract: true
IsInstantiatable: false
StaticAlias: null
Description: Physical represents an object affected by physics in the world.

View File

@@ -6,5 +6,6 @@ Events: []
IsStatic: false
IsAbstract: false
IsInstantiatable: true
StaticAlias: null
Description: PhysicalModel is a object that represent a group of objects, that's
affected by physics.

View File

@@ -88,4 +88,5 @@ Events: []
IsStatic: true
IsAbstract: false
IsInstantiatable: false
StaticAlias: Places
Description: PlacesService is a service that is used to join players to other places

View File

@@ -179,4 +179,5 @@ Events:
IsStatic: false
IsAbstract: false
IsInstantiatable: false
StaticAlias: null
Description: Player represents a user playing the game.

View File

@@ -110,5 +110,6 @@ Events: []
IsStatic: true
IsAbstract: false
IsInstantiatable: false
StaticAlias: PlayerDefaults
Description: PlayerDefaults is a service used for storing the default values of
the Player when created.

View File

@@ -6,4 +6,5 @@ Events: []
IsStatic: true
IsAbstract: false
IsInstantiatable: false
StaticAlias: PlayerGUI
Description: PlayerGUI is a class that contains all custom GUIs.

View File

@@ -63,4 +63,5 @@ Events:
IsStatic: true
IsAbstract: false
IsInstantiatable: false
StaticAlias: Players
Description: Players is the container class for all Player instances.

View File

@@ -12,5 +12,6 @@ Events: []
IsStatic: false
IsAbstract: false
IsInstantiatable: true
StaticAlias: null
Description: PointLight is a type of light that emits light in all directions
from a single point.

View File

@@ -139,4 +139,5 @@ Events:
IsStatic: false
IsAbstract: false
IsInstantiatable: true
StaticAlias: null
Description: PolytorianModel is a CharacterModel that represent default Polytoria Character.

Some files were not shown because too many files have changed in this diff Show More