This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
addons:using_ashitacore [2017/04/22 02:15] atom0s [IDataManager] |
addons:using_ashitacore [2017/04/22 02:36] atom0s [Using The AshitaCore Object] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Using The AshitaCore Object ====== | ====== Using The AshitaCore Object ====== | ||
+ | <WRAP important> | ||
+ | This documentation page is subject to change soon. Interfaces will be broken into separate pages to better explain things. | ||
+ | </WRAP> | ||
==== What is the AshitaCore Object? ==== | ==== What is the AshitaCore Object? ==== | ||
Line 54: | Line 57: | ||
* GetDataManager | * GetDataManager | ||
* GetFontManager | * GetFontManager | ||
- | * GetGuiManager | + | * GetGuiManager //(Note: These functions are exposed via the ashita.gui namespace instead. The main interface is exposed to prevent errors but this is not how to access these functions!)// |
* GetInputManager | * GetInputManager | ||
* GetPacketManager | * GetPacketManager | ||
Line 99: | Line 102: | ||
* get_float | * get_float | ||
* get_double | * get_double | ||
+ | |||
+ | ==== IGuiManager ==== | ||
+ | * These functions are exposed via the ashita.gui namespace instead. The main interface is exposed to prevent errors but this is not how to access these functions! | ||
==== IKeyboard ==== | ==== IKeyboard ==== | ||
Line 126: | Line 132: | ||
* Log | * Log | ||
+ | //More information on using the LogManager can be found here: [[addons:using_logmanager]]// | ||
==== IPacketManager ==== | ==== IPacketManager ==== | ||
* //No functions are directly exposed, instead, they are global functions.// | * //No functions are directly exposed, instead, they are global functions.// | ||
Line 579: | Line 586: | ||
* GetIsMenuOpen | * GetIsMenuOpen | ||
+ | ---- | ||
+ | ===== Font Manager Exposure ===== | ||
+ | |||
+ | ==== SIZE ==== | ||
+ | * cx | ||
+ | * cy | ||
+ | |||
+ | ==== Ashita::asrect_t ==== | ||
+ | * x | ||
+ | * y | ||
+ | * w | ||
+ | * h | ||
+ | |||
+ | ==== IFontObject ==== | ||
+ | * GetAlias | ||
+ | * GetVisibility | ||
+ | * GetFontFamily | ||
+ | * GetFontHeight | ||
+ | * GetPositionX | ||
+ | * GetPositionY | ||
+ | * GetLocked | ||
+ | * GetPadding | ||
+ | * GetAnchor | ||
+ | * GetAnchorParent | ||
+ | * GetColor | ||
+ | * GetCreateFlags | ||
+ | * GetDrawFlags | ||
+ | * GetBold | ||
+ | * GetItalic | ||
+ | * GetRightJustified | ||
+ | * GetText | ||
+ | * GetDirtyFlag | ||
+ | * GetAutoResize | ||
+ | * GetWindowWidth | ||
+ | * GetWindowHeight | ||
+ | * GetRealPositionX | ||
+ | * GetRealPositionY | ||
+ | * GetParent | ||
+ | * GetBackground | ||
+ | * GetTextSize | ||
+ | * SetAlias | ||
+ | * SetVisibility | ||
+ | * SetFontFamily | ||
+ | * SetFontHeight | ||
+ | * SetPositionX | ||
+ | * SetPositionY | ||
+ | * SetLocked | ||
+ | * SetPadding | ||
+ | * SetAnchor | ||
+ | * SetAnchorParent | ||
+ | * SetColor | ||
+ | * SetCreateFlags | ||
+ | * SetDrawFlags | ||
+ | * SetBold | ||
+ | * SetItalic | ||
+ | * SetRightJustified | ||
+ | * SetText | ||
+ | * SetDirtyFlag | ||
+ | * SetAutoResize | ||
+ | * SetWindowWidth | ||
+ | * SetWindowHeight | ||
+ | * SetParent | ||
+ | |||
+ | ==== IPrimitiveObject ==== | ||
+ | * SetTextureFromFile | ||
+ | * SetTextureFromResource | ||
+ | * HitTest | ||
+ | * GetVisibility | ||
+ | * GetPositionX | ||
+ | * GetPositionY | ||
+ | * GetWidth | ||
+ | * GetHeight | ||
+ | * GetColor | ||
+ | * GetBorderVisibility | ||
+ | * GetBorderColor | ||
+ | * GetBorderFlags | ||
+ | * GetBorderSizes | ||
+ | * SetVisibility | ||
+ | * SetPositionX | ||
+ | * SetPositionY | ||
+ | * SetWidth | ||
+ | * SetHeight | ||
+ | * SetColor | ||
+ | * SetBorderVisibility | ||
+ | * SetBorderColor | ||
+ | * SetBorderFlags | ||
+ | * SetBorderSizes | ||
+ | |||
+ | ==== IFontManager ==== | ||
+ | * Create | ||
+ | * Get | ||
+ | * Delete | ||
+ | * GetHideObjects | ||
+ | * SetHideObjects | ||
+ | |||
+ | ---- | ||
===== Resource Manager Exposure ===== | ===== Resource Manager Exposure ===== | ||