Git Product home page Git Product logo

docs's Issues

POST, PUT, DELETE functions documentation are missing the headers argument

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

Omit function return type if function returns void

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 missing "event" argument

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; }
}

Undocumented input methods

Vector3 GetMouseWorldPosition()
Vector3 GetMouseWorldPoint()
RayResult ScreenPointToRay(Vector3 pos, List ignoreList = null)
RayResult ViewportPointToRay(Vector3 pos, List ignoreList = null)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.