Esempio n. 1
0
        public ktValue(ktString Name, ktString Type, ktIntObj Object,
                       bool HardType, bool Constant, ktClass CallbackClass)
            : base("ktValue", 0)
        {
            m_Object = Object;

            SetName(Name);
            SetType(Type);
            SetHardType(HardType);
            SetConstant(Constant);
            SetCallback(CallbackClass);
        }
Esempio n. 2
0
 public ktClass(ktString Name, ktClass Parent, ktList Properties, ktList Methods,
                bool AddIfNotSet, bool IsClass_, bool HardType = false, bool IsConstant = false)
     : base("ktClass", 0)
 {
     m_Name = Name;
     m_Parent = Parent;
     m_Properties = Properties;
     m_Methods = Methods;
     m_AddIfNotSet = AddIfNotSet;
     m_IsClass = IsClass_;
     m_HardType = HardType;
     m_IsConstant = IsConstant;
 }
Esempio n. 3
0
 public ktClass(ktClass Parent)
     : this("", Parent, null, null, Parent.AddIfNotSet, false)
 {
 }
Esempio n. 4
0
        public bool AddClass(ktClass Class)
        {
            if (Class == null)
                return false;

            if (m_Classes == null)
                m_Classes = new ktList();

            ktNode Node = new ktNode(Class);
            Node.Name = Class.Name;

            return m_Classes.Add(Node);
        }
Esempio n. 5
0
 public void SetCallback()
 {
     m_Callback = null;
 }
Esempio n. 6
0
 public void SetCallback(ktClass Callback)
 {
     m_Callback = Callback;
 }