polytoria / docs Goto Github PK
View Code? Open in Web Editor NEWPolytoria Scripting API documentation
Home Page: https://docs.polytoria.com
Polytoria Scripting API documentation
Home Page: https://docs.polytoria.com
Since baggy loves prettier (in a romantical way, jk) it would be a good idea to run prettier at every commit using actions.
Spent 2 hours trying to figure out why the fuck polytoria is not sending the request. Gotta love the lack of any error message as well, but that is a general issue and not a docs issue.
The reason was that I didnt provide a headers object cause I figured POST didnt need it, cause it isnt in the docs. well... it does...
https://docs.polytoria.com/objects/static-classes/Http/
Prob PUT and DELETE need it as well, so the parameters of these functions should be updated to reflect that
Wrong documentation
Since Lua isn't a typed language it's pretty unnecessary for all of these functions to have this " -> void
" nonsense if they don't have a return value
This is a personal chore for me to do later but if anyone else wants to tackle it i'm fine with that. Should be a simple change in the python templater
Player.Chatted event currently only has a message argument, however there's a second undocumented argument event
:
game["Players"]["willemsteller"].Chatted:Connect(function (message, event)
print(event.Player.Name .. " wrote: " .. event.Message)
event.Canceled = true
end)
public class PlayerChatEvent
{
public Player Player { get; private set; }
public string Message { get; private set; }
public bool Canceled { get; set; }
}
Vector3 GetMouseWorldPosition()
Vector3 GetMouseWorldPoint()
RayResult ScreenPointToRay(Vector3 pos, List ignoreList = null)
RayResult ViewportPointToRay(Vector3 pos, List ignoreList = null)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.