protected void InitRuntimeClassRegistry()
{
BuildTargetGroup buildTargetGroup = BuildPipeline.GetBuildTargetGroup(this.buildTarget);
this.AddFunctionalityGroup("Runtime", "[no manager]");
this.AddNativeDependenciesForFunctionalityGroup("Runtime", "GameObject");
this.AddNativeDependenciesForFunctionalityGroup("Runtime", "Material");
this.AddNativeDependenciesForFunctionalityGroup("Runtime", "PreloadData");
this.AddNativeDependenciesForFunctionalityGroup("Runtime", "PlayerSettings");
this.AddNativeDependenciesForFunctionalityGroup("Runtime", "InputManager");
this.AddNativeDependenciesForFunctionalityGroup("Runtime", "BuildSettings");
this.AddNativeDependenciesForFunctionalityGroup("Runtime", "GraphicsSettings");
this.AddNativeDependenciesForFunctionalityGroup("Runtime", "QualitySettings");
this.AddNativeDependenciesForFunctionalityGroup("Runtime", "MonoManager");
this.AddNativeDependenciesForFunctionalityGroup("Runtime", "AudioManager");
this.AddNativeDependenciesForFunctionalityGroup("Runtime", "ScriptMapper");
this.AddNativeDependenciesForFunctionalityGroup("Runtime", "DelayedCallManager");
this.AddNativeDependenciesForFunctionalityGroup("Runtime", "TimeManager");
this.AddNativeDependenciesForFunctionalityGroup("Runtime", "Cubemap");
this.AddNativeDependenciesForFunctionalityGroup("Runtime", "Texture3D");
this.AddNativeDependenciesForFunctionalityGroup("Runtime", "Texture2DArray");
this.AddNativeDependenciesForFunctionalityGroup("Runtime", "LODGroup");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(GameObject), "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(Transform), "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(Mesh), "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(SkinnedMeshRenderer), "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(MeshRenderer), "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(UnityException), "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(Resolution));
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(LayerMask));
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(SerializeField));
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(WaitForSeconds));
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(WaitForSecondsRealtime));
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(WaitForFixedUpdate));
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(WaitForEndOfFrame));
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(AssetBundle), "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(AssetBundleRequest));
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(Event), "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(HideInInspector));
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(SerializePrivateVariables));
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(SerializeField));
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(Font), "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(GUIStyle));
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(GUISkin), "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(GUITargetAttribute), "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(GUI), "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(TextGenerator), "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(SendMouseEvents), "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(SetupCoroutine), "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(Coroutine));
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(AttributeHelperEngine), "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(StackTraceUtility), "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(GUIUtility), "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(GUI), "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(Application), "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(Animation), "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(AnimationClip), "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(AnimationEvent));
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(AsyncOperation));
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(Resources), "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(CacheIndex));
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(Keyframe));
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(RenderTexture));
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(AnimationCurve), "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(BoneWeight));
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(Particle));
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(SliderState), "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(GUI.ScrollViewState), "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(GUIScrollGroup), "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(TextEditor), "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(ClassLibraryInitializer), "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(AssetBundleCreateRequest), "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", "ImageEffectTransformsToLDR");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", "ImageEffectOpaque");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(Gradient), "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(GradientColorKey));
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(GradientAlphaKey));
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(Canvas), "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(RectTransform), "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(AssemblyIsEditorAssembly), "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(Camera), "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(CullingGroup), "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(StateMachineBehaviour), "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", "Networking.DownloadHandler", "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", "Experimental.Director.Playable", "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", "Experimental.Director.ScriptPlayable", "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", "Experimental.Director.GenericMixerPlayable", "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(SharedBetweenAnimatorsAttribute), "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(AnimatorStateInfo), "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(AnimatorTransitionInfo), "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(AnimatorClipInfo), "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(SkeletonBone), "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(HumanBone), "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(UIVertex), "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(UICharInfo), "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(UILineInfo), "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(AudioClip), "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(AudioMixer), "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(AudioSettings), "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", "iPhone", "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", "AndroidJNI", "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", "AndroidJNIHelper", "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", "_AndroidJNIHelper", "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", "AndroidJavaObject", "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", "AndroidJavaClass", "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", "AndroidJavaRunnableProxy", "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", "SamsungTV", "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(ISerializationCallbackReceiver), "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", "UnhandledExceptionHandler", "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", "Display", "all");
switch (buildTargetGroup)
{
case BuildTargetGroup.Android:
this.AddManagedDependenciesForFunctionalityGroup("Runtime", "AndroidJNI", "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", "AndroidJNIHelper", "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", "_AndroidJNIHelper", "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", "AndroidJavaObject", "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", "AndroidJavaClass", "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", "AndroidJavaRunnableProxy", "all");
break;
case BuildTargetGroup.SamsungTV:
this.AddManagedDependenciesForFunctionalityGroup("Runtime", "SamsungTV", "all");
break;
case BuildTargetGroup.iPhone:
this.AddManagedDependenciesForFunctionalityGroup("Runtime", "iPhoneKeyboard");
break;
}
if ((buildTargetGroup == BuildTargetGroup.iPhone) || ((buildTargetGroup == BuildTargetGroup.Standalone) && (((this.buildTarget == BuildTarget.StandaloneOSXIntel) || (this.buildTarget == BuildTarget.StandaloneOSXIntel64)) || (this.buildTarget == BuildTarget.StandaloneOSXUniversal))))
{
this.AddManagedDependenciesForFunctionalityGroup("Runtime", "SocialPlatforms.GameCenter.GameCenterPlatform", "all");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", "SocialPlatforms.GameCenter.GcLeaderboard", "all");
}
if (((buildTargetGroup == BuildTargetGroup.iPhone) || (buildTargetGroup == BuildTargetGroup.Android)) || (((buildTargetGroup == BuildTargetGroup.WP8) || (buildTargetGroup == BuildTargetGroup.WSA)) || (buildTargetGroup == BuildTargetGroup.Tizen)))
{
this.AddManagedDependenciesForFunctionalityGroup("Runtime", "TouchScreenKeyboard");
}
this.AddNativeDependenciesForFunctionalityGroup("Runtime", "NetworkManager");
this.AddNativeDependenciesForFunctionalityGroup("Runtime", "NetworkView");
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(Network));
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(NetworkMessageInfo));
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(RPC));
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(HostData));
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(BitStream));
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(NetworkPlayer));
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(NetworkViewID));
this.AddManagedDependenciesForFunctionalityGroup("Runtime", typeof(Ping), "all");
this.AddFunctionalityGroup("Physics", "PhysicsManager");
this.AddNativeDependenciesForFunctionalityGroup("Physics", "PhysicsManager");
this.AddNativeDependenciesForFunctionalityGroup("Physics", "Rigidbody");
this.AddNativeDependenciesForFunctionalityGroup("Physics", "Collider");
this.AddManagedDependenciesForFunctionalityGroup("Physics", typeof(ControllerColliderHit));
this.AddManagedDependenciesForFunctionalityGroup("Physics", typeof(RaycastHit));
this.AddManagedDependenciesForFunctionalityGroup("Physics", typeof(Collision));
this.AddManagedDependenciesForFunctionalityGroup("Physics", typeof(MeshCollider));
this.AddFunctionalityGroup("Physics2D", "Physics2DSettings");
this.AddNativeDependenciesForFunctionalityGroup("Physics2D", "Physics2DSettings");
this.AddNativeDependenciesForFunctionalityGroup("Physics2D", "Rigidbody2D");
this.AddNativeDependenciesForFunctionalityGroup("Physics2D", "Collider2D");
this.AddNativeDependenciesForFunctionalityGroup("Physics2D", "Joint2D");
this.AddNativeDependenciesForFunctionalityGroup("Physics2D", "PhysicsMaterial2D");
this.AddManagedDependenciesForFunctionalityGroup("Physics2D", typeof(RaycastHit2D));
this.AddManagedDependenciesForFunctionalityGroup("Physics2D", typeof(Collision2D));
this.AddManagedDependenciesForFunctionalityGroup("Physics2D", typeof(JointMotor2D));
this.AddManagedDependenciesForFunctionalityGroup("Physics2D", typeof(JointAngleLimits2D));
this.AddManagedDependenciesForFunctionalityGroup("Physics2D", typeof(JointTranslationLimits2D));
this.AddManagedDependenciesForFunctionalityGroup("Physics2D", typeof(JointSuspension2D));
this.AddFunctionalityGroup("Terrain", "Terrain");
this.AddManagedDependenciesForFunctionalityGroup("Terrain", typeof(Terrain), "all");
this.AddManagedDependenciesForFunctionalityGroup("Terrain", typeof(TerrainData), "all");
this.AddManagedDependenciesForFunctionalityGroup("Terrain", typeof(TerrainCollider), "all");
this.AddManagedDependenciesForFunctionalityGroup("Terrain", typeof(DetailPrototype), "all");
this.AddManagedDependenciesForFunctionalityGroup("Terrain", typeof(TreePrototype), "all");
this.AddManagedDependenciesForFunctionalityGroup("Terrain", typeof(TreeInstance), "all");
this.AddManagedDependenciesForFunctionalityGroup("Terrain", typeof(SplatPrototype), "all");
this.AddFunctionalityGroup("Shuriken", "ParticleSystem");
this.AddManagedDependenciesForFunctionalityGroup("Shuriken", typeof(ParticleSystem));
this.AddManagedDependenciesForFunctionalityGroup("Shuriken", typeof(ParticleSystemRenderer));
this.AddManagedBaseClass("UnityEngine.MonoBehaviour");
this.AddManagedBaseClass("UnityEngine.ScriptableObject");
if (buildTargetGroup == BuildTargetGroup.Android)
{
this.AddManagedBaseClass("UnityEngine.AndroidJavaProxy");
}
string[] dontStripClassNames = RuntimeInitializeOnLoadManager.dontStripClassNames;
foreach (string str in dontStripClassNames)
{
this.AddManagedBaseClass(str);
}
}