neptools

Modding tools to Neptunia games
git clone https://git.neptards.moe/neptards/neptools.git
Log | Files | Refs | Submodules | README | LICENSE

data.binding.hpp (1996B)


      1 // Auto generated code, do not edit. See gen_binding in project root.
      2 #ifndef LIBSHIT_BINDING_GENERATOR
      3 #if LIBSHIT_WITH_LUA
      4 #include <libshit/lua/user_type.hpp>
      5 
      6 
      7 const char ::Neptools::Stcm::DataItem::TYPE_NAME[] = "neptools.stcm.data_item";
      8 
      9 namespace Libshit::Lua
     10 {
     11 
     12   // class neptools.stcm.data_item
     13   template<>
     14   void TypeRegisterTraits<::Neptools::Stcm::DataItem>::Register(TypeBuilder& bld)
     15   {
     16     bld.Inherit<::Neptools::Stcm::DataItem, ::Neptools::ItemWithChildren>();
     17 
     18     bld.AddFunction<
     19       &::Libshit::Lua::TypeTraits<::Neptools::Stcm::DataItem>::Make<LuaGetRef<::Neptools::Item::Key>, LuaGetRef<::Neptools::Context &>, LuaGetRef<::uint32_t>, LuaGetRef<::uint32_t>, LuaGetRef<::uint32_t>>
     20     >("new");
     21     bld.AddFunction<
     22       static_cast<::Neptools::Stcm::DataItem & (*)(::Neptools::ItemPointer)>(::Neptools::Stcm::DataItem::CreateAndInsert)
     23     >("create_and_insert");
     24     bld.AddFunction<
     25       &::Libshit::Lua::GetMember<::Neptools::Stcm::DataItem, ::uint32_t, &::Neptools::Stcm::DataItem::type>
     26     >("get_type");
     27     bld.AddFunction<
     28       &::Libshit::Lua::SetMember<::Neptools::Stcm::DataItem, ::uint32_t, &::Neptools::Stcm::DataItem::type>
     29     >("set_type");
     30     bld.AddFunction<
     31       &::Libshit::Lua::GetMember<::Neptools::Stcm::DataItem, ::uint32_t, &::Neptools::Stcm::DataItem::offset_unit>
     32     >("get_offset_unit");
     33     bld.AddFunction<
     34       &::Libshit::Lua::SetMember<::Neptools::Stcm::DataItem, ::uint32_t, &::Neptools::Stcm::DataItem::offset_unit>
     35     >("set_offset_unit");
     36     bld.AddFunction<
     37       &::Libshit::Lua::GetMember<::Neptools::Stcm::DataItem, ::uint32_t, &::Neptools::Stcm::DataItem::field_8>
     38     >("get_field_8");
     39     bld.AddFunction<
     40       &::Libshit::Lua::SetMember<::Neptools::Stcm::DataItem, ::uint32_t, &::Neptools::Stcm::DataItem::field_8>
     41     >("set_field_8");
     42 
     43   }
     44   static TypeRegister::StateRegister<::Neptools::Stcm::DataItem> libshit_lua_statereg_cd1a79faba6e64f4e3cf95de4cb1d96540e285900fecb6766baae37f1d4257e1;
     45 
     46 }
     47 #endif
     48 #endif