03-02-2016, 10:28 AM
(This post was last modified: 03-02-2016, 04:46 PM by Fighter19.
Edit Reason: Removed not important information.
)
Currently I'm trying to create a class to create the trade window, especially for use with Plugins.
The Problem I'm facing is, I've made the functions available towards the LUA interpreter and I'm now wondering if that's ok,
because my Class is just like the other classes (AnvilWindow, etc.) which are not exposed to LUA (ofc, with the exception of cLuaWindow).
Also I'm wondering whether it's ok to introduce a new class called "cTrade" inside the same files used for the Window.
The Problem I'm facing is, I've made the functions available towards the LUA interpreter and I'm now wondering if that's ok,
because my Class is just like the other classes (AnvilWindow, etc.) which are not exposed to LUA (ofc, with the exception of cLuaWindow).
Also I'm wondering whether it's ok to introduce a new class called "cTrade" inside the same files used for the Window.