Generated_Members_Input.cpp 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. // DO NOT EDIT. This file is generated
  2. #include "../Precompiled.h"
  3. #include "../AngelScript/APITemplates.h"
  4. #include "../AngelScript/GeneratedIncludes.h"
  5. #include "../AngelScript/GeneratedClassMembers.h"
  6. #include "../AngelScript/Manual.h"
  7. namespace Urho3D
  8. {
  9. // class Controls | File: ../Input/Controls.h
  10. void CollectMembers_Controls(MemberCollection& members)
  11. {
  12. members.fields_.Push(RegisterObjectPropertyArgs("unsigned Controls::buttons_", "uint buttons", offsetof(Controls, buttons_)));
  13. members.fields_.Push(RegisterObjectPropertyArgs("float Controls::yaw_", "float yaw", offsetof(Controls, yaw_)));
  14. members.fields_.Push(RegisterObjectPropertyArgs("float Controls::pitch_", "float pitch", offsetof(Controls, pitch_)));
  15. members.fields_.Push(RegisterObjectPropertyArgs("VariantMap Controls::extraData_", "VariantMap extraData", offsetof(Controls, extraData_)));
  16. }
  17. // struct JoystickState | File: ../Input/Input.h
  18. void CollectMembers_JoystickState(MemberCollection& members)
  19. {
  20. // SDL_Joystick* JoystickState::joystick_
  21. // Not registered because pointer
  22. // SDL_GameController* JoystickState::controller_
  23. // Not registered because pointer
  24. // UIElement* JoystickState::screenJoystick_
  25. // Not registered because pointer
  26. // PODVector<bool> JoystickState::buttons_
  27. // Error: type "PODVector<bool>" can not automatically bind
  28. // PODVector<bool> JoystickState::buttonPress_
  29. // Error: type "PODVector<bool>" can not automatically bind
  30. // PODVector<float> JoystickState::axes_
  31. // Error: type "PODVector<float>" can not automatically bind
  32. // PODVector<int> JoystickState::hats_
  33. // Error: type "PODVector<int>" can not automatically bind
  34. members.fields_.Push(RegisterObjectPropertyArgs("SDL_JoystickID JoystickState::joystickID_", "SDL_JoystickID joystickID", offsetof(JoystickState, joystickID_)));
  35. members.fields_.Push(RegisterObjectPropertyArgs("String JoystickState::name_", "String name", offsetof(JoystickState, name_)));
  36. }
  37. // struct TouchState | File: ../Input/Input.h
  38. void CollectMembers_TouchState(MemberCollection& members)
  39. {
  40. // WeakPtr<UIElement> TouchState::touchedElement_
  41. // Error: type "WeakPtr<UIElement>" can not automatically bind
  42. members.fields_.Push(RegisterObjectPropertyArgs("int TouchState::touchID_", "int touchID", offsetof(TouchState, touchID_)));
  43. members.fields_.Push(RegisterObjectPropertyArgs("IntVector2 TouchState::position_", "IntVector2 position", offsetof(TouchState, position_)));
  44. members.fields_.Push(RegisterObjectPropertyArgs("IntVector2 TouchState::lastPosition_", "IntVector2 lastPosition", offsetof(TouchState, lastPosition_)));
  45. members.fields_.Push(RegisterObjectPropertyArgs("IntVector2 TouchState::delta_", "IntVector2 delta", offsetof(TouchState, delta_)));
  46. members.fields_.Push(RegisterObjectPropertyArgs("float TouchState::pressure_", "float pressure", offsetof(TouchState, pressure_)));
  47. }
  48. // class Input | File: ../Input/Input.h
  49. void CollectMembers_Input(MemberCollection& members)
  50. {
  51. CollectMembers_Object(members);
  52. }
  53. } // namespace Urho3D