neptools

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

raw_item.binding.hpp (1644B)


      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::RawItem::TYPE_NAME[] = "neptools.raw_item";
      8 
      9 namespace Libshit::Lua
     10 {
     11 
     12   // class neptools.raw_item
     13   template<>
     14   void TypeRegisterTraits<::Neptools::RawItem>::Register(TypeBuilder& bld)
     15   {
     16     bld.Inherit<::Neptools::RawItem, ::Neptools::Item>();
     17 
     18     bld.AddFunction<
     19       &::Libshit::Lua::TypeTraits<::Neptools::RawItem>::Make<LuaGetRef<::Neptools::Item::Key>, LuaGetRef<::Neptools::Context &>, LuaGetRef<::Neptools::Source>>,
     20       &::Libshit::Lua::TypeTraits<::Neptools::RawItem>::Make<LuaGetRef<::Neptools::Item::Key>, LuaGetRef<::Neptools::Context &>, LuaGetRef<std::string>>
     21     >("new");
     22     bld.AddFunction<
     23       static_cast<const ::Neptools::Source & (::Neptools::RawItem::*)() const noexcept>(&::Neptools::RawItem::GetSource),
     24       static_cast<::Neptools::RawItem::GetSourceRet (*)(::Neptools::ItemPointer, ::Neptools::FilePosition)>(::Neptools::RawItem::GetSource)
     25     >("get_source");
     26     bld.AddFunction<
     27       static_cast<::Neptools::Item & (::Neptools::RawItem::*)(::Neptools::FilePosition, ::Libshit::NotNull<::Libshit::RefCountedPtr<::Neptools::Item> >)>(&::Neptools::RawItem::Split<::Neptools::Item>),
     28       static_cast<::Neptools::RawItem & (::Neptools::RawItem::*)(::Neptools::FilePosition, ::Neptools::FilePosition)>(&::Neptools::RawItem::Split)
     29     >("split");
     30 
     31   }
     32   static TypeRegister::StateRegister<::Neptools::RawItem> libshit_lua_statereg_44ee3c6ce00d09ec896553ed7da600c806b973a74979ef63c09c52cf480d63b4;
     33 
     34 }
     35 #endif
     36 #endif