Advertisement
kevansevans

Untitled

Jul 9th, 2021
1,171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 4.51 KB | None | 0 0
  1. // Generated by Haxe 4.1.5
  2. #include <hxcpp.h>
  3.  
  4. #ifndef INCLUDED_hxdoom_enums_eng_SideType
  5. #include <hxdoom/enums/eng/SideType.h>
  6. #endif
  7. namespace hxdoom{
  8. namespace enums{
  9. namespace eng{
  10.  
  11. ::hxdoom::enums::eng::SideType SideType_obj::BACK_BOTTOM;
  12.  
  13. ::hxdoom::enums::eng::SideType SideType_obj::BACK_MIDDLE;
  14.  
  15. ::hxdoom::enums::eng::SideType SideType_obj::BACK_TOP;
  16.  
  17. ::hxdoom::enums::eng::SideType SideType_obj::FRONT_BOTTOM;
  18.  
  19. ::hxdoom::enums::eng::SideType SideType_obj::FRONT_MIDDLE;
  20.  
  21. ::hxdoom::enums::eng::SideType SideType_obj::FRONT_TOP;
  22.  
  23. ::hxdoom::enums::eng::SideType SideType_obj::SOLID;
  24.  
  25. bool SideType_obj::__GetStatic(const ::String &inName, ::Dynamic &outValue, ::hx::PropertyAccess inCallProp)
  26. {
  27.     if (inName==HX_("BACK_BOTTOM",43,a5,a8,89)) { outValue = SideType_obj::BACK_BOTTOM; return true; }
  28.     if (inName==HX_("BACK_MIDDLE",ad,91,8e,70)) { outValue = SideType_obj::BACK_MIDDLE; return true; }
  29.     if (inName==HX_("BACK_TOP",1d,89,f6,85)) { outValue = SideType_obj::BACK_TOP; return true; }
  30.     if (inName==HX_("FRONT_BOTTOM",21,67,1f,29)) { outValue = SideType_obj::FRONT_BOTTOM; return true; }
  31.     if (inName==HX_("FRONT_MIDDLE",8b,53,05,10)) { outValue = SideType_obj::FRONT_MIDDLE; return true; }
  32.     if (inName==HX_("FRONT_TOP",7f,10,d5,a1)) { outValue = SideType_obj::FRONT_TOP; return true; }
  33.     if (inName==HX_("SOLID",0b,ec,b3,fe)) { outValue = SideType_obj::SOLID; return true; }
  34.     return super::__GetStatic(inName, outValue, inCallProp);
  35. }
  36.  
  37. HX_DEFINE_CREATE_ENUM(SideType_obj)
  38.  
  39. int SideType_obj::__FindIndex(::String inName)
  40. {
  41.     if (inName==HX_("BACK_BOTTOM",43,a5,a8,89)) return 4;
  42.     if (inName==HX_("BACK_MIDDLE",ad,91,8e,70)) return 5;
  43.     if (inName==HX_("BACK_TOP",1d,89,f6,85)) return 3;
  44.     if (inName==HX_("FRONT_BOTTOM",21,67,1f,29)) return 1;
  45.     if (inName==HX_("FRONT_MIDDLE",8b,53,05,10)) return 2;
  46.     if (inName==HX_("FRONT_TOP",7f,10,d5,a1)) return 0;
  47.     if (inName==HX_("SOLID",0b,ec,b3,fe)) return 6;
  48.     return super::__FindIndex(inName);
  49. }
  50.  
  51. int SideType_obj::__FindArgCount(::String inName)
  52. {
  53.     if (inName==HX_("BACK_BOTTOM",43,a5,a8,89)) return 0;
  54.     if (inName==HX_("BACK_MIDDLE",ad,91,8e,70)) return 0;
  55.     if (inName==HX_("BACK_TOP",1d,89,f6,85)) return 0;
  56.     if (inName==HX_("FRONT_BOTTOM",21,67,1f,29)) return 0;
  57.     if (inName==HX_("FRONT_MIDDLE",8b,53,05,10)) return 0;
  58.     if (inName==HX_("FRONT_TOP",7f,10,d5,a1)) return 0;
  59.     if (inName==HX_("SOLID",0b,ec,b3,fe)) return 0;
  60.     return super::__FindArgCount(inName);
  61. }
  62.  
  63. ::hx::Val SideType_obj::__Field(const ::String &inName,::hx::PropertyAccess inCallProp)
  64. {
  65.     if (inName==HX_("BACK_BOTTOM",43,a5,a8,89)) return BACK_BOTTOM;
  66.     if (inName==HX_("BACK_MIDDLE",ad,91,8e,70)) return BACK_MIDDLE;
  67.     if (inName==HX_("BACK_TOP",1d,89,f6,85)) return BACK_TOP;
  68.     if (inName==HX_("FRONT_BOTTOM",21,67,1f,29)) return FRONT_BOTTOM;
  69.     if (inName==HX_("FRONT_MIDDLE",8b,53,05,10)) return FRONT_MIDDLE;
  70.     if (inName==HX_("FRONT_TOP",7f,10,d5,a1)) return FRONT_TOP;
  71.     if (inName==HX_("SOLID",0b,ec,b3,fe)) return SOLID;
  72.     return super::__Field(inName,inCallProp);
  73. }
  74.  
  75. static ::String SideType_obj_sStaticFields[] = {
  76.     HX_("FRONT_TOP",7f,10,d5,a1),
  77.     HX_("FRONT_BOTTOM",21,67,1f,29),
  78.     HX_("FRONT_MIDDLE",8b,53,05,10),
  79.     HX_("BACK_TOP",1d,89,f6,85),
  80.     HX_("BACK_BOTTOM",43,a5,a8,89),
  81.     HX_("BACK_MIDDLE",ad,91,8e,70),
  82.     HX_("SOLID",0b,ec,b3,fe),
  83.     ::String(null())
  84. };
  85.  
  86. ::hx::Class SideType_obj::__mClass;
  87.  
  88. Dynamic __Create_SideType_obj() { return new SideType_obj; }
  89.  
  90. void SideType_obj::__register()
  91. {
  92.  
  93. ::hx::Static(__mClass) = ::hx::_hx_RegisterClass(HX_("hxdoom.enums.eng.SideType",12,19,b4,a8), ::hx::TCanCast< SideType_obj >,SideType_obj_sStaticFields,0,
  94.     &__Create_SideType_obj, &__Create,
  95.     &super::__SGetClass(), &CreateSideType_obj, 0
  96. #ifdef HXCPP_VISIT_ALLOCS
  97.     , 0
  98. #endif
  99. #ifdef HXCPP_SCRIPTABLE
  100.     , 0
  101. #endif
  102. );
  103.     __mClass->mGetStaticField = &SideType_obj::__GetStatic;
  104. }
  105.  
  106. void SideType_obj::__boot()
  107. {
  108. BACK_BOTTOM = ::hx::CreateConstEnum< SideType_obj >(HX_("BACK_BOTTOM",43,a5,a8,89),4);
  109. BACK_MIDDLE = ::hx::CreateConstEnum< SideType_obj >(HX_("BACK_MIDDLE",ad,91,8e,70),5);
  110. BACK_TOP = ::hx::CreateConstEnum< SideType_obj >(HX_("BACK_TOP",1d,89,f6,85),3);
  111. FRONT_BOTTOM = ::hx::CreateConstEnum< SideType_obj >(HX_("FRONT_BOTTOM",21,67,1f,29),1);
  112. FRONT_MIDDLE = ::hx::CreateConstEnum< SideType_obj >(HX_("FRONT_MIDDLE",8b,53,05,10),2);
  113. FRONT_TOP = ::hx::CreateConstEnum< SideType_obj >(HX_("FRONT_TOP",7f,10,d5,a1),0);
  114. SOLID = ::hx::CreateConstEnum< SideType_obj >(HX_("SOLID",0b,ec,b3,fe),6);
  115. }
  116.  
  117.  
  118. } // end namespace hxdoom
  119. } // end namespace enums
  120. } // end namespace eng
  121.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement