CalcPosAndDir() private method

private CalcPosAndDir ( int targetId, ScriptRuntime &pos, float &dir ) : bool
targetId int
pos ScriptRuntime
dir float
return bool
Example #1
0
 static public int CalcPosAndDir(IntPtr l)
 {
     try {
         GameFramework.EntityController self = (GameFramework.EntityController)checkSelf(l);
         System.Int32 a1;
         checkType(l, 2, out a1);
         ScriptRuntime.Vector3 a2;
         System.Single         a3;
         var ret = self.CalcPosAndDir(a1, out a2, out a3);
         pushValue(l, true);
         pushValue(l, ret);
         pushValue(l, a2);
         pushValue(l, a3);
         return(4);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }