Badminton-Scoreboard/Classes/Native/UnityClassRegistration.cpp
2023-10-08 10:24:48 +08:00

454 lines
16 KiB
C++

extern "C" void RegisterStaticallyLinkedModulesGranular()
{
void RegisterModule_SharedInternals();
RegisterModule_SharedInternals();
void RegisterModule_Core();
RegisterModule_Core();
void RegisterModule_Animation();
RegisterModule_Animation();
void RegisterModule_Audio();
RegisterModule_Audio();
void RegisterModule_CrashReporting();
RegisterModule_CrashReporting();
void RegisterModule_ImageConversion();
RegisterModule_ImageConversion();
void RegisterModule_GameCenter();
RegisterModule_GameCenter();
void RegisterModule_InputLegacy();
RegisterModule_InputLegacy();
void RegisterModule_IMGUI();
RegisterModule_IMGUI();
void RegisterModule_JSONSerialize();
RegisterModule_JSONSerialize();
void RegisterModule_PerformanceReporting();
RegisterModule_PerformanceReporting();
void RegisterModule_Physics();
RegisterModule_Physics();
void RegisterModule_RuntimeInitializeOnLoadManagerInitializer();
RegisterModule_RuntimeInitializeOnLoadManagerInitializer();
void RegisterModule_TextRendering();
RegisterModule_TextRendering();
void RegisterModule_TextCoreFontEngine();
RegisterModule_TextCoreFontEngine();
void RegisterModule_TextCoreTextEngine();
RegisterModule_TextCoreTextEngine();
void RegisterModule_TLS();
RegisterModule_TLS();
void RegisterModule_UI();
RegisterModule_UI();
void RegisterModule_UIElementsNative();
RegisterModule_UIElementsNative();
void RegisterModule_UIElements();
RegisterModule_UIElements();
void RegisterModule_UnityAnalyticsCommon();
RegisterModule_UnityAnalyticsCommon();
void RegisterModule_UnityConnect();
RegisterModule_UnityConnect();
void RegisterModule_UnityWebRequest();
RegisterModule_UnityWebRequest();
void RegisterModule_UnityAnalytics();
RegisterModule_UnityAnalytics();
void RegisterModule_UnityWebRequestAudio();
RegisterModule_UnityWebRequestAudio();
}
template <typename T> void RegisterUnityClass(const char*);
template <typename T> void RegisterStrippedType(int, const char*, const char*);
void InvokeRegisterStaticallyLinkedModuleClasses()
{
// Do nothing (we're in stripping mode)
}
class EditorExtension; template <> void RegisterUnityClass<EditorExtension>(const char*);
namespace Unity { class Component; } template <> void RegisterUnityClass<Unity::Component>(const char*);
class Behaviour; template <> void RegisterUnityClass<Behaviour>(const char*);
class Animation;
class Animator; template <> void RegisterUnityClass<Animator>(const char*);
namespace Unity { class ArticulationBody; }
class AudioBehaviour; template <> void RegisterUnityClass<AudioBehaviour>(const char*);
class AudioListener; template <> void RegisterUnityClass<AudioListener>(const char*);
class AudioSource; template <> void RegisterUnityClass<AudioSource>(const char*);
class AudioFilter;
class AudioChorusFilter;
class AudioDistortionFilter;
class AudioEchoFilter;
class AudioHighPassFilter;
class AudioLowPassFilter;
class AudioReverbFilter;
class AudioReverbZone;
class Camera; template <> void RegisterUnityClass<Camera>(const char*);
namespace UI { class Canvas; } template <> void RegisterUnityClass<UI::Canvas>(const char*);
namespace UI { class CanvasGroup; } template <> void RegisterUnityClass<UI::CanvasGroup>(const char*);
namespace Unity { class Cloth; }
class Collider2D;
class BoxCollider2D;
class CapsuleCollider2D;
class CircleCollider2D;
class CompositeCollider2D;
class CustomCollider2D;
class EdgeCollider2D;
class PolygonCollider2D;
class TilemapCollider2D;
class ConstantForce;
class Effector2D;
class AreaEffector2D;
class BuoyancyEffector2D;
class PlatformEffector2D;
class PointEffector2D;
class SurfaceEffector2D;
class FlareLayer;
class GridLayout;
class Grid;
class Tilemap;
class Halo;
class IConstraint;
class AimConstraint;
class LookAtConstraint;
class ParentConstraint;
class PositionConstraint;
class RotationConstraint;
class ScaleConstraint;
class Joint2D;
class AnchoredJoint2D;
class DistanceJoint2D;
class FixedJoint2D;
class FrictionJoint2D;
class HingeJoint2D;
class SliderJoint2D;
class SpringJoint2D;
class WheelJoint2D;
class RelativeJoint2D;
class TargetJoint2D;
class LensFlare;
class Light; template <> void RegisterUnityClass<Light>(const char*);
class LightProbeGroup;
class LightProbeProxyVolume;
class MonoBehaviour; template <> void RegisterUnityClass<MonoBehaviour>(const char*);
class NavMeshAgent;
class NavMeshObstacle;
class OffMeshLink;
class ParticleSystemForceField;
class PhysicsUpdateBehaviour2D;
class ConstantForce2D;
class PlayableDirector;
class Projector;
class ReflectionProbe; template <> void RegisterUnityClass<ReflectionProbe>(const char*);
class Skybox;
class SortingGroup; template <> void RegisterUnityClass<SortingGroup>(const char*);
class StreamingController;
class Terrain;
class VideoPlayer;
class VisualEffect;
class WindZone;
namespace UI { class CanvasRenderer; } template <> void RegisterUnityClass<UI::CanvasRenderer>(const char*);
class Collider;
class BoxCollider;
class CapsuleCollider;
class CharacterController;
class MeshCollider;
class SphereCollider;
class TerrainCollider;
class WheelCollider;
namespace Unity { class Joint; }
namespace Unity { class CharacterJoint; }
namespace Unity { class ConfigurableJoint; }
namespace Unity { class FixedJoint; }
namespace Unity { class HingeJoint; }
namespace Unity { class SpringJoint; }
class LODGroup;
class MeshFilter; template <> void RegisterUnityClass<MeshFilter>(const char*);
class OcclusionArea;
class OcclusionPortal;
class ParticleSystem;
class Renderer; template <> void RegisterUnityClass<Renderer>(const char*);
class BillboardRenderer;
class LineRenderer;
class MeshRenderer; template <> void RegisterUnityClass<MeshRenderer>(const char*);
class ParticleSystemRenderer;
class SkinnedMeshRenderer;
class SpriteMask;
class SpriteRenderer; template <> void RegisterUnityClass<SpriteRenderer>(const char*);
class SpriteShapeRenderer;
class TilemapRenderer;
class TrailRenderer;
class VFXRenderer;
class Rigidbody; template <> void RegisterUnityClass<Rigidbody>(const char*);
class Rigidbody2D;
namespace TextRenderingPrivate { class TextMesh; }
class Transform; template <> void RegisterUnityClass<Transform>(const char*);
namespace UI { class RectTransform; } template <> void RegisterUnityClass<UI::RectTransform>(const char*);
class Tree;
class GameObject; template <> void RegisterUnityClass<GameObject>(const char*);
class NamedObject; template <> void RegisterUnityClass<NamedObject>(const char*);
class AssetBundle;
class AssetBundleManifest;
class AudioMixer; template <> void RegisterUnityClass<AudioMixer>(const char*);
class AudioMixerController;
class AudioMixerGroup; template <> void RegisterUnityClass<AudioMixerGroup>(const char*);
class AudioMixerGroupController;
class AudioMixerSnapshot; template <> void RegisterUnityClass<AudioMixerSnapshot>(const char*);
class AudioMixerSnapshotController;
class Avatar;
class AvatarMask;
class BillboardAsset;
class ComputeShader; template <> void RegisterUnityClass<ComputeShader>(const char*);
class Flare;
namespace TextRendering { class Font; } template <> void RegisterUnityClass<TextRendering::Font>(const char*);
class LightProbes; template <> void RegisterUnityClass<LightProbes>(const char*);
class LightingSettings; template <> void RegisterUnityClass<LightingSettings>(const char*);
class LocalizationAsset;
class Material; template <> void RegisterUnityClass<Material>(const char*);
class ProceduralMaterial;
class Mesh; template <> void RegisterUnityClass<Mesh>(const char*);
class Motion; template <> void RegisterUnityClass<Motion>(const char*);
class AnimationClip; template <> void RegisterUnityClass<AnimationClip>(const char*);
class NavMeshData;
class OcclusionCullingData;
class PhysicMaterial;
class PhysicsMaterial2D;
class PreloadData; template <> void RegisterUnityClass<PreloadData>(const char*);
class RayTracingShader;
class RuntimeAnimatorController; template <> void RegisterUnityClass<RuntimeAnimatorController>(const char*);
class AnimatorController; template <> void RegisterUnityClass<AnimatorController>(const char*);
class AnimatorOverrideController; template <> void RegisterUnityClass<AnimatorOverrideController>(const char*);
class SampleClip; template <> void RegisterUnityClass<SampleClip>(const char*);
class AudioClip; template <> void RegisterUnityClass<AudioClip>(const char*);
class Shader; template <> void RegisterUnityClass<Shader>(const char*);
class ShaderVariantCollection;
class SpeedTreeWindAsset;
class Sprite; template <> void RegisterUnityClass<Sprite>(const char*);
class SpriteAtlas; template <> void RegisterUnityClass<SpriteAtlas>(const char*);
class SubstanceArchive;
class TerrainData;
class TerrainLayer;
class TextAsset; template <> void RegisterUnityClass<TextAsset>(const char*);
class MonoScript; template <> void RegisterUnityClass<MonoScript>(const char*);
class Texture; template <> void RegisterUnityClass<Texture>(const char*);
class BaseVideoTexture;
class WebCamTexture;
class CubemapArray; template <> void RegisterUnityClass<CubemapArray>(const char*);
class LowerResBlitTexture; template <> void RegisterUnityClass<LowerResBlitTexture>(const char*);
class MovieTexture;
class ProceduralTexture;
class RenderTexture; template <> void RegisterUnityClass<RenderTexture>(const char*);
class CustomRenderTexture;
class SparseTexture;
class Texture2D; template <> void RegisterUnityClass<Texture2D>(const char*);
class Cubemap; template <> void RegisterUnityClass<Cubemap>(const char*);
class Texture2DArray; template <> void RegisterUnityClass<Texture2DArray>(const char*);
class Texture3D; template <> void RegisterUnityClass<Texture3D>(const char*);
class VideoClip;
class VisualEffectObject;
class VisualEffectAsset;
class VisualEffectSubgraph;
class GameManager; template <> void RegisterUnityClass<GameManager>(const char*);
class GlobalGameManager; template <> void RegisterUnityClass<GlobalGameManager>(const char*);
class AudioManager; template <> void RegisterUnityClass<AudioManager>(const char*);
class BuildSettings; template <> void RegisterUnityClass<BuildSettings>(const char*);
class DelayedCallManager; template <> void RegisterUnityClass<DelayedCallManager>(const char*);
class GraphicsSettings; template <> void RegisterUnityClass<GraphicsSettings>(const char*);
class InputManager; template <> void RegisterUnityClass<InputManager>(const char*);
class MonoManager; template <> void RegisterUnityClass<MonoManager>(const char*);
class NavMeshProjectSettings;
class Physics2DSettings;
class PhysicsManager; template <> void RegisterUnityClass<PhysicsManager>(const char*);
class PlayerSettings; template <> void RegisterUnityClass<PlayerSettings>(const char*);
class QualitySettings; template <> void RegisterUnityClass<QualitySettings>(const char*);
class ResourceManager; template <> void RegisterUnityClass<ResourceManager>(const char*);
class RuntimeInitializeOnLoadManager; template <> void RegisterUnityClass<RuntimeInitializeOnLoadManager>(const char*);
class ShaderNameRegistry; template <> void RegisterUnityClass<ShaderNameRegistry>(const char*);
class StreamingManager;
class TagManager; template <> void RegisterUnityClass<TagManager>(const char*);
class TimeManager; template <> void RegisterUnityClass<TimeManager>(const char*);
class UnityConnectSettings; template <> void RegisterUnityClass<UnityConnectSettings>(const char*);
class VFXManager;
class LevelGameManager; template <> void RegisterUnityClass<LevelGameManager>(const char*);
class LightmapSettings; template <> void RegisterUnityClass<LightmapSettings>(const char*);
class NavMeshSettings;
class OcclusionCullingSettings;
class RenderSettings; template <> void RegisterUnityClass<RenderSettings>(const char*);
void RegisterAllClasses()
{
void RegisterBuiltinTypes();
RegisterBuiltinTypes();
//Total: 75 non stripped classes
//0. AnimationClip
RegisterUnityClass<AnimationClip>("Animation");
//1. Animator
RegisterUnityClass<Animator>("Animation");
//2. AnimatorController
RegisterUnityClass<AnimatorController>("Animation");
//3. AnimatorOverrideController
RegisterUnityClass<AnimatorOverrideController>("Animation");
//4. Motion
RegisterUnityClass<Motion>("Animation");
//5. RuntimeAnimatorController
RegisterUnityClass<RuntimeAnimatorController>("Animation");
//6. AudioBehaviour
RegisterUnityClass<AudioBehaviour>("Audio");
//7. AudioClip
RegisterUnityClass<AudioClip>("Audio");
//8. AudioListener
RegisterUnityClass<AudioListener>("Audio");
//9. AudioManager
RegisterUnityClass<AudioManager>("Audio");
//10. AudioMixer
RegisterUnityClass<AudioMixer>("Audio");
//11. AudioMixerGroup
RegisterUnityClass<AudioMixerGroup>("Audio");
//12. AudioMixerSnapshot
RegisterUnityClass<AudioMixerSnapshot>("Audio");
//13. AudioSource
RegisterUnityClass<AudioSource>("Audio");
//14. SampleClip
RegisterUnityClass<SampleClip>("Audio");
//15. Behaviour
RegisterUnityClass<Behaviour>("Core");
//16. BuildSettings
RegisterUnityClass<BuildSettings>("Core");
//17. Camera
RegisterUnityClass<Camera>("Core");
//18. Unity::Component
RegisterUnityClass<Unity::Component>("Core");
//19. ComputeShader
RegisterUnityClass<ComputeShader>("Core");
//20. Cubemap
RegisterUnityClass<Cubemap>("Core");
//21. CubemapArray
RegisterUnityClass<CubemapArray>("Core");
//22. DelayedCallManager
RegisterUnityClass<DelayedCallManager>("Core");
//23. EditorExtension
RegisterUnityClass<EditorExtension>("Core");
//24. GameManager
RegisterUnityClass<GameManager>("Core");
//25. GameObject
RegisterUnityClass<GameObject>("Core");
//26. GlobalGameManager
RegisterUnityClass<GlobalGameManager>("Core");
//27. GraphicsSettings
RegisterUnityClass<GraphicsSettings>("Core");
//28. InputManager
RegisterUnityClass<InputManager>("Core");
//29. LevelGameManager
RegisterUnityClass<LevelGameManager>("Core");
//30. Light
RegisterUnityClass<Light>("Core");
//31. LightingSettings
RegisterUnityClass<LightingSettings>("Core");
//32. LightmapSettings
RegisterUnityClass<LightmapSettings>("Core");
//33. LightProbes
RegisterUnityClass<LightProbes>("Core");
//34. LowerResBlitTexture
RegisterUnityClass<LowerResBlitTexture>("Core");
//35. Material
RegisterUnityClass<Material>("Core");
//36. Mesh
RegisterUnityClass<Mesh>("Core");
//37. MeshFilter
RegisterUnityClass<MeshFilter>("Core");
//38. MeshRenderer
RegisterUnityClass<MeshRenderer>("Core");
//39. MonoBehaviour
RegisterUnityClass<MonoBehaviour>("Core");
//40. MonoManager
RegisterUnityClass<MonoManager>("Core");
//41. MonoScript
RegisterUnityClass<MonoScript>("Core");
//42. NamedObject
RegisterUnityClass<NamedObject>("Core");
//43. Object
//Skipping Object
//44. PlayerSettings
RegisterUnityClass<PlayerSettings>("Core");
//45. PreloadData
RegisterUnityClass<PreloadData>("Core");
//46. QualitySettings
RegisterUnityClass<QualitySettings>("Core");
//47. UI::RectTransform
RegisterUnityClass<UI::RectTransform>("Core");
//48. ReflectionProbe
RegisterUnityClass<ReflectionProbe>("Core");
//49. Renderer
RegisterUnityClass<Renderer>("Core");
//50. RenderSettings
RegisterUnityClass<RenderSettings>("Core");
//51. RenderTexture
RegisterUnityClass<RenderTexture>("Core");
//52. ResourceManager
RegisterUnityClass<ResourceManager>("Core");
//53. RuntimeInitializeOnLoadManager
RegisterUnityClass<RuntimeInitializeOnLoadManager>("Core");
//54. Shader
RegisterUnityClass<Shader>("Core");
//55. ShaderNameRegistry
RegisterUnityClass<ShaderNameRegistry>("Core");
//56. SortingGroup
RegisterUnityClass<SortingGroup>("Core");
//57. Sprite
RegisterUnityClass<Sprite>("Core");
//58. SpriteAtlas
RegisterUnityClass<SpriteAtlas>("Core");
//59. SpriteRenderer
RegisterUnityClass<SpriteRenderer>("Core");
//60. TagManager
RegisterUnityClass<TagManager>("Core");
//61. TextAsset
RegisterUnityClass<TextAsset>("Core");
//62. Texture
RegisterUnityClass<Texture>("Core");
//63. Texture2D
RegisterUnityClass<Texture2D>("Core");
//64. Texture2DArray
RegisterUnityClass<Texture2DArray>("Core");
//65. Texture3D
RegisterUnityClass<Texture3D>("Core");
//66. TimeManager
RegisterUnityClass<TimeManager>("Core");
//67. Transform
RegisterUnityClass<Transform>("Core");
//68. PhysicsManager
RegisterUnityClass<PhysicsManager>("Physics");
//69. Rigidbody
RegisterUnityClass<Rigidbody>("Physics");
//70. TextRendering::Font
RegisterUnityClass<TextRendering::Font>("TextRendering");
//71. UI::Canvas
RegisterUnityClass<UI::Canvas>("UI");
//72. UI::CanvasGroup
RegisterUnityClass<UI::CanvasGroup>("UI");
//73. UI::CanvasRenderer
RegisterUnityClass<UI::CanvasRenderer>("UI");
//74. UnityConnectSettings
RegisterUnityClass<UnityConnectSettings>("UnityConnect");
}