From f8196306e7337866461478946996be4688b6e809 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Thu, 20 Mar 2014 17:41:10 +1000 Subject: A thing about other Thing things. --- ClientHamr/GuiLua/skang.lua | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'ClientHamr/GuiLua/skang.lua') 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 - local other = require('otherPackageName') other.foo = 'stuff' bar = other.foo + +Other Thing things are (should add defaults for some of these to Thing) - + number No idea how this was useful. + skang The owning object, a Skang (actually got this, called module for now). + owner The owning object, a String (module._NAME). + clas Class of the Thing, a Class. (pointless) + type Class of the Thing, a String. (pointless) + realType Real Class of the Thing, a String. (pointless) + action An optional action to perform, a String. + tell The skang command that created this Thing, a String. + get/set/append/isValid/remove Various Methods. + errors A list of errors returned by isValid(). + isReadOnly/isServer/isStub/isStubbed Various booleans. + hasCrashed How many times this Thing has crashed, an Integer. + myRoot ThingSpace we are in, a ThingSpace. + + Also various functions to wrap checking the security, like canDo, canRead, etc. ]] ThingSpace = {} -- cgit v1.1