A package to let your IDE know what JsMacros can do
Project description
JsMacrosAC
The sole purpose of this package is to let your IDE know what functions the various JsMacros classes have.
Please note that this package does not add functionality and will crash your scripts if it is not imported correctly.
How to import
Each import should be imported with leading if __name__ == "":
otherwise the script will break.
Import all classes:
if __name__ == "": from JsMacrosAC import *
Import all classes from a specific module:
if __name__ == "": from JsMacrosAC.<moduleName> import *
Import one class:
if __name__ == "": from JsMacrosAC import <ClassName>
Import in an event file
if __name__ == "":
from JsMacrosAC import EventAirChange
event = EventAirChange() #No need of arguments
#Modules
There are some modules in JsMacrosAC that can be imported as well, so you don't have to import all the files.
These Modules are:
- libraries (Contains all libraries and constants like Chat or GlobalVars)
- helpers (Contains all helper classes)
- events (Contains all event classes)
- mixins (Contains all mixin classes)
- rest (Contains all other classes)
#Libraries The Chat, JavaWrapper, Player, Request, Hud, Time, KeyBind, JsMacros, FS, Reflection, Client, World and GlobalVars libraries can be accessed by either importing all classes or importing the library module mentioned above.
#Things to note Since Python does not support function overloading, only one function will be displayed in some IDEs. See the function description or class to learn more about the different ways to use this function.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file JsMacrosAC-1.8.1.9039157.tar.gz
.
File metadata
- Download URL: JsMacrosAC-1.8.1.9039157.tar.gz
- Upload date:
- Size: 78.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.7.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e278d90ee2a60ffebadfd7157deaba0c57693900029d6feaf1416f4d9d002b45 |
|
MD5 | f17b6c062a60404c943dab73a631b72a |
|
BLAKE2b-256 | f6f9cb23b9f5bb62c66614b935957a81ed032ef925ad350cc395830a04dab97b |
File details
Details for the file JsMacrosAC-1.8.1.9039157-py3-none-any.whl
.
File metadata
- Download URL: JsMacrosAC-1.8.1.9039157-py3-none-any.whl
- Upload date:
- Size: 203.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.7.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c179d43ee490de4023908f51ad9bf56906c631209109c476d554b5a9062c63a |
|
MD5 | 8325df69544ac0b074aabb8e65d8ba8f |
|
BLAKE2b-256 | 57b8f3d2863d0ef6e9bfa2bfbae6df4225cdbf9510b011070e10f170c18c2ad0 |