static int set_MoveSpeed(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            BattleSystem.ObjectModule.UnitBase  obj  = (BattleSystem.ObjectModule.UnitBase)o;
            BattleSystem.ObjectModule.Attribute arg0 = (BattleSystem.ObjectModule.Attribute)ToLua.CheckObject <BattleSystem.ObjectModule.Attribute>(L, 2);
            obj.MoveSpeed = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index MoveSpeed on a nil value"));
        }
    }
    static int get_MoveSpeed(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            BattleSystem.ObjectModule.UnitBase  obj = (BattleSystem.ObjectModule.UnitBase)o;
            BattleSystem.ObjectModule.Attribute ret = obj.MoveSpeed;
            ToLua.PushObject(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index MoveSpeed on a nil value"));
        }
    }