diff options
Diffstat (limited to 'ClientHamr/GuiLua')
-rw-r--r-- | ClientHamr/GuiLua/skang.lua | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/ClientHamr/GuiLua/skang.lua b/ClientHamr/GuiLua/skang.lua index ceb5e30..383b4bd 100644 --- a/ClientHamr/GuiLua/skang.lua +++ b/ClientHamr/GuiLua/skang.lua | |||
@@ -163,6 +163,23 @@ module semantics - | |||
163 | local other = require('otherPackageName') | 163 | local other = require('otherPackageName') |
164 | other.foo = 'stuff' | 164 | other.foo = 'stuff' |
165 | bar = other.foo | 165 | bar = other.foo |
166 | |||
167 | Other Thing things are (should add defaults for some of these to Thing) - | ||
168 | number No idea how this was useful. | ||
169 | skang The owning object, a Skang (actually got this, called module for now). | ||
170 | owner The owning object, a String (module._NAME). | ||
171 | clas Class of the Thing, a Class. (pointless) | ||
172 | type Class of the Thing, a String. (pointless) | ||
173 | realType Real Class of the Thing, a String. (pointless) | ||
174 | action An optional action to perform, a String. | ||
175 | tell The skang command that created this Thing, a String. | ||
176 | get/set/append/isValid/remove Various Methods. | ||
177 | errors A list of errors returned by isValid(). | ||
178 | isReadOnly/isServer/isStub/isStubbed Various booleans. | ||
179 | hasCrashed How many times this Thing has crashed, an Integer. | ||
180 | myRoot ThingSpace we are in, a ThingSpace. | ||
181 | |||
182 | Also various functions to wrap checking the security, like canDo, canRead, etc. | ||
166 | ]] | 183 | ]] |
167 | 184 | ||
168 | ThingSpace = {} | 185 | ThingSpace = {} |