Example #1
0
    static int GenPoint(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 4);
        List <Vector3> arg0 = (List <Vector3>)LuaScriptMgr.GetNetObject(L, 1, typeof(List <Vector3>));
        int            arg1 = (int)LuaScriptMgr.GetNumber(L, 2);
        int            arg2 = (int)LuaScriptMgr.GetNumber(L, 3);
        Vector3        arg3 = LuaScriptMgr.GetVector3(L, 4);

        UtilCommon.GenPoint(arg0, arg1, arg2, ref arg3);
        LuaScriptMgr.Push(L, arg3);
        return(1);
    }