How can I know object's variable name and public methods??

My native language is Korean. Please note that my English si not perfect.


When I just want to type my own javascript, How can I know the lists of classes' name and their public methods??

Forexample, $gameVariables.setValue(1,0); is used for make variable[1] to have value 0.
I want to know more about those.

I would be grateful if you could provide me with where to find the objects' name, the public functions that can manipulate the game data.
Moved to: Learning JavaScript
If you want the full list of everything that's in scope to you at any given time, open the console log and type "window". You'll get a list of every object that's in the window scope, including "global variables" like $gameVariables and $gameParty. You can then expand/collapse objects as you like to see their properties, functions, and prototypes.
If you want the full list of everything that's in scope to you at any given time, open the console log and type "window". You'll get a list of every object that's in the window scope, including "global variables" like $gameVariables and $gameParty. You can then expand/collapse objects as you like to see their properties, functions, and prototypes.



wow... when I looked at the full list of objects, it's really confusing. Do you have any tip to how to find public functions easily?

ty so much though.
Depends on what you mean by "public functions". If you mean a full list of every function that's callable from any object in the window scope, you'd basically have to have a plugin that loops through every child of the window, then loops through every object in that child, looks for function definitions, and outputs them to the console. And I'd have to question why you even need that. What are you trying to accomplish?
Depends on what you mean by "public functions". If you mean a full list of every function that's callable from any object in the window scope, you'd basically have to have a plugin that loops through every child of the window, then loops through every object in that child, looks for function definitions, and outputs them to the console. And I'd have to question why you even need that. What are you trying to accomplish?

guess my question was way to broad.

I'm trying to make non-target action system( like hot line maimi, tera) and pick up an object system( like by pressing certain button, you pick up an wood and carry around).
There isn't really a "cheat" for getting what functions you have access to when it comes to things like that. It's a trial and error process of figuring out what objects do the thing you want to make function differently, then poking around until you find out how they work.
hi friend, here some very nice link

and for ALL split class.
https://forums.rpgmakerweb.com/inde...it-source-files-for-plugin-development.47361/

Tips tricks
In game console (F8)
Tape window
you will get all class and function possible in GameDEV
Sans-titre-1.png

Original thread: https://forums.rpgmakerweb.com/threads/how-can-i-know-objects-variable-name-and-public-methods.76438/