public ktValue(ktValue Value) : base("ktValue", 0) { //ktDebug.Log( "Value::CONSTR( " + Value.Export() + " )" ); SetName(Value.Name); SetType(Value.Type); SetHardType(Value.HardType); SetConstant(Value.Constant); m_Object = Value.Value; }
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); }
public ktValue(ktString Name, ktString Type, ktIntObj Object, bool HardType, bool Constant) : this(Name, Type, Object, HardType, Constant, null) { /* SetName( Name ); SetType( Type ); SetHardType( HardType ); SetConstant( Constant ); SetCallback( CallbackClass );*/ // m_Object = Object; }
public void SetValue(ktValue Value) { //ktDebug.Log( "ktValue::SetValue( " + Value.Export() + " )" ); m_Name = Value.m_Name; m_VType = Value.Type; m_HardType = Value.HardType; m_Constant = Value.Constant; m_Object = Value.m_Object; }
public void SetTheValue(ktValue Value) { //ktDebug.Log( "ktValue::SetTheValue( " + Value.Export() + " )" ); /*if (Hard && !CheckType( Value )) { throw new ktError( "The }*/ if (!HardType) { m_VType = Value.Type; } m_Object = Value.m_Object; CallCallback("PropertyChanged"); }