static int _s_set_CancellationTokenSource(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

                DCET.Model.UnitPathComponent gen_to_be_invoked = (DCET.Model.UnitPathComponent)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.CancellationTokenSource = (System.Threading.CancellationTokenSource)translator.GetObject(L, 2, typeof(System.Threading.CancellationTokenSource));
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
            return(0);
        }
        static int _s_set_Path(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

                DCET.Model.UnitPathComponent gen_to_be_invoked = (DCET.Model.UnitPathComponent)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.Path = (System.Collections.Generic.List <UnityEngine.Vector3>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List <UnityEngine.Vector3>));
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
            return(0);
        }
        static int _g_get_CancellationTokenSource(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

                DCET.Model.UnitPathComponent gen_to_be_invoked = (DCET.Model.UnitPathComponent)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.CancellationTokenSource);
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
            return(1);
        }
        static int _s_set_ServerPos(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

                DCET.Model.UnitPathComponent gen_to_be_invoked = (DCET.Model.UnitPathComponent)translator.FastGetCSObj(L, 1);
                UnityEngine.Vector3          gen_value; translator.Get(L, 2, out gen_value);
                gen_to_be_invoked.ServerPos = gen_value;
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
            return(0);
        }
        static int __CreateInstance(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                if (LuaAPI.lua_gettop(L) == 1)
                {
                    DCET.Model.UnitPathComponent gen_ret = new DCET.Model.UnitPathComponent();
                    translator.Push(L, gen_ret);

                    return(1);
                }
            }
            catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
            return(LuaAPI.luaL_error(L, "invalid arguments to DCET.Model.UnitPathComponent constructor!"));
        }
        static int _m_StartMove(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                DCET.Model.UnitPathComponent gen_to_be_invoked = (DCET.Model.UnitPathComponent)translator.FastGetCSObj(L, 1);


                int gen_param_count = LuaAPI.lua_gettop(L);

                if (gen_param_count == 2 && translator.Assignable <System.Threading.CancellationToken>(L, 2))
                {
                    System.Threading.CancellationToken _cancellationToken; translator.Get(L, 2, out _cancellationToken);

                    DCET.Model.ETTask gen_ret = gen_to_be_invoked.StartMove(_cancellationToken);
                    translator.Push(L, gen_ret);



                    return(1);
                }
                if (gen_param_count == 2 && translator.Assignable <DCET.Model.M2C_PathfindingResult>(L, 2))
                {
                    DCET.Model.M2C_PathfindingResult _message = (DCET.Model.M2C_PathfindingResult)translator.GetObject(L, 2, typeof(DCET.Model.M2C_PathfindingResult));

                    DCET.Model.ETVoid gen_ret = gen_to_be_invoked.StartMove(_message);
                    translator.Push(L, gen_ret);



                    return(1);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }

            return(LuaAPI.luaL_error(L, "invalid arguments to DCET.Model.UnitPathComponent.StartMove!"));
        }