Esempio n. 1
0
 static public int get_HaveValue(IntPtr l)
 {
     try {
         StorySystem.IStoryValueParam self = (StorySystem.IStoryValueParam)checkSelf(l);
         pushValue(l, true);
         pushValue(l, self.HaveValue);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Esempio n. 2
0
 static public int InitFromDsl(IntPtr l)
 {
     try {
         StorySystem.IStoryValueParam self = (StorySystem.IStoryValueParam)checkSelf(l);
         Dsl.ISyntaxComponent         a1;
         checkType(l, 2, out a1);
         System.Int32 a2;
         checkType(l, 3, out a2);
         self.InitFromDsl(a1, a2);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Esempio n. 3
0
 static public int Evaluate(IntPtr l)
 {
     try {
         StorySystem.IStoryValueParam self = (StorySystem.IStoryValueParam)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));
     }
 }