using System; using System.Diagnostics; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.Versioning; using System.Security; using System.Security.Permissions; using Microsoft.CodeAnalysis; using RoR2; using RoR2.UI; using UnityEngine; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] [assembly: InternalsVisibleTo("R2API.CharacterBody")] [assembly: TargetFramework(".NETStandard,Version=v2.1", FrameworkDisplayName = ".NET Standard 2.1")] [assembly: AssemblyCompany("R2API.CharacterBody.Interop")] [assembly: AssemblyConfiguration("Release")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: AssemblyInformationalVersion("1.0.0+b18ad407f6a7dd91f8942af84dbefd9ed003cade")] [assembly: AssemblyProduct("R2API.CharacterBody.Interop")] [assembly: AssemblyTitle("R2API.CharacterBody.Interop")] [assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)] [assembly: AssemblyVersion("1.0.0.0")] [module: UnverifiableCode] [module: RefSafetyRules(11)] namespace Microsoft.CodeAnalysis { [CompilerGenerated] [Embedded] internal sealed class EmbeddedAttribute : Attribute { } } namespace System.Runtime.CompilerServices { [CompilerGenerated] [Embedded] [AttributeUsage(AttributeTargets.Class | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Parameter | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter, AllowMultiple = false, Inherited = false)] internal sealed class NullableAttribute : Attribute { public readonly byte[] NullableFlags; public NullableAttribute(byte P_0) { NullableFlags = new byte[1] { P_0 }; } public NullableAttribute(byte[] P_0) { NullableFlags = P_0; } } [CompilerGenerated] [Embedded] [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Method | AttributeTargets.Interface | AttributeTargets.Delegate, AllowMultiple = false, Inherited = false)] internal sealed class NullableContextAttribute : Attribute { public readonly byte Flag; public NullableContextAttribute(byte P_0) { Flag = P_0; } } [CompilerGenerated] [Embedded] [AttributeUsage(AttributeTargets.Module, AllowMultiple = false, Inherited = false)] internal sealed class RefSafetyRulesAttribute : Attribute { public readonly int Version; public RefSafetyRulesAttribute(int P_0) { Version = P_0; } } } namespace R2API { internal static class CharacterBodyInterop { public static byte[] GetModdedBodyFlags(CharacterBody characterBody) { return characterBody.r2api_moddedBodyFlags; } public static void SetModdedBodyFlags(CharacterBody characterBody, byte[] value) { characterBody.r2api_moddedBodyFlags = value; } public static Sprite GetCustomSprintIcon(CharacterBody characterBody) { return characterBody.r2api_customSprintIcon; } public static void SetCustomSprintIcon(CharacterBody characterBody, Sprite value) { characterBody.r2api_customSprintIcon = value; } public static Color? GetCustomSprintColor(CharacterBody characterBody) { return characterBody.r2api_customSprintColor; } public static void SetCustomSprintColor(CharacterBody characterBody, Color? value) { characterBody.r2api_customSprintColor = value; } public static GameObject GetCustomIconObject(SprintIcon sprintIcon) { return sprintIcon.r2api_customIconObject; } public static void SetCustomIconObject(SprintIcon sprintIcon, GameObject value) { sprintIcon.r2api_customIconObject = value; } public static Sprite GetCurrentCustomSprintIcon(SprintIcon sprintIcon) { return sprintIcon.r2api_currentCustomSprintIcon; } public static void SetCurrentCustomSprintIcon(SprintIcon sprintIcon, Sprite value) { sprintIcon.r2api_currentCustomSprintIcon = value; } public static Color? GetCurrentCustomSprintColor(SprintIcon sprintIcon) { return sprintIcon.r2api_currentCustomSprintColor; } public static void SetCurrentCustomSprintColor(SprintIcon sprintIcon, Color? value) { sprintIcon.r2api_currentCustomSprintColor = value; } } }