public IStoryValue <object> Clone()
        {
            DummyValue val = new DummyValue();

            val.m_HaveValue = m_HaveValue;
            val.m_Value     = m_Value;
            return(val);
        }
Exemplo n.º 2
0
 static public int get_Value(IntPtr l)
 {
     try {
         StorySystem.CommonValues.DummyValue self = (StorySystem.CommonValues.DummyValue)checkSelf(l);
         pushValue(l, true);
         pushValue(l, self.Value);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Exemplo n.º 3
0
 static public int constructor(IntPtr l)
 {
     try {
         StorySystem.CommonValues.DummyValue o;
         o = new StorySystem.CommonValues.DummyValue();
         pushValue(l, true);
         pushValue(l, o);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Exemplo n.º 4
0
 static public int Analyze(IntPtr l)
 {
     try {
         StorySystem.CommonValues.DummyValue self = (StorySystem.CommonValues.DummyValue)checkSelf(l);
         StorySystem.StoryInstance           a1;
         checkType(l, 2, out a1);
         self.Analyze(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Exemplo n.º 5
0
 static public int InitFromDsl(IntPtr l)
 {
     try {
         StorySystem.CommonValues.DummyValue self = (StorySystem.CommonValues.DummyValue)checkSelf(l);
         Dsl.ISyntaxComponent a1;
         checkType(l, 2, out a1);
         self.InitFromDsl(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Exemplo n.º 6
0
 static public int Evaluate(IntPtr l)
 {
     try {
         StorySystem.CommonValues.DummyValue self = (StorySystem.CommonValues.DummyValue)checkSelf(l);
         StorySystem.StoryInstance           a1;
         checkType(l, 2, out a1);
         System.Object a2;
         checkType(l, 3, out a2);
         System.Object[] a3;
         checkArray(l, 4, out a3);
         self.Evaluate(a1, a2, a3);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }