This commit is contained in:
niko
2026-04-11 22:19:20 +02:00
parent 45b857ff11
commit 8fc35183db
17034 changed files with 2863552 additions and 0 deletions
@@ -0,0 +1,27 @@
using System;
using Cpp2IlInjected;
using UnityEngine.Bindings;
using UnityEngine.Scripting.APIUpdating;
namespace UnityEngine.U2D
{
// Token: 0x0200014A RID: 330
[Token(Token = "0x200014A")]
[MovedFrom("UnityEngine.Experimental.U2D")]
[NativeHeader("Runtime/2D/Common/PixelSnapping.h")]
public static class PixelPerfectRendering
{
// Token: 0x17000296 RID: 662
// (set) Token: 0x06000CB7 RID: 3255 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000296")]
public static float pixelSnapSpacing
{
[Token(Token = "0x6000CB7")]
[Address(RVA = "0x300BB10", Offset = "0x300A910", VA = "0x18300BB10")]
[FreeFunction]
set
{
}
}
}
}
@@ -0,0 +1,108 @@
using System;
using Cpp2IlInjected;
using UnityEngine.Bindings;
namespace UnityEngine.U2D
{
// Token: 0x0200014D RID: 333
[Token(Token = "0x200014D")]
[NativeType]
[NativeHeader("Runtime/Graphics/SpriteFrame.h")]
public class SpriteAtlas : Object
{
// Token: 0x17000297 RID: 663
// (get) Token: 0x06000CBE RID: 3262 RVA: 0x00008E68 File Offset: 0x00007068
[Token(Token = "0x17000297")]
public bool isVariant
{
[Token(Token = "0x6000CBE")]
[Address(RVA = "0x300C110", Offset = "0x300AF10", VA = "0x18300C110")]
[NativeMethod]
get
{
return default(bool);
}
}
// Token: 0x17000298 RID: 664
// (get) Token: 0x06000CBF RID: 3263 RVA: 0x00002052 File Offset: 0x00000252
[Token(Token = "0x17000298")]
public string tag
{
[Token(Token = "0x6000CBF")]
[Address(RVA = "0x300C190", Offset = "0x300AF90", VA = "0x18300C190")]
get
{
return null;
}
}
// Token: 0x17000299 RID: 665
// (get) Token: 0x06000CC0 RID: 3264 RVA: 0x00008E80 File Offset: 0x00007080
[Token(Token = "0x17000299")]
public int spriteCount
{
[Token(Token = "0x6000CC0")]
[Address(RVA = "0x300C150", Offset = "0x300AF50", VA = "0x18300C150")]
get
{
return 0;
}
}
// Token: 0x06000CC1 RID: 3265 RVA: 0x00008E98 File Offset: 0x00007098
[Token(Token = "0x6000CC1")]
[Address(RVA = "0x300BF60", Offset = "0x300AD60", VA = "0x18300BF60")]
public bool CanBindTo([NotNull] Sprite sprite)
{
return default(bool);
}
// Token: 0x06000CC2 RID: 3266 RVA: 0x00002052 File Offset: 0x00000252
[Token(Token = "0x6000CC2")]
[Address(RVA = "0x300BFB0", Offset = "0x300ADB0", VA = "0x18300BFB0")]
public Sprite GetSprite(string name)
{
return null;
}
// Token: 0x06000CC3 RID: 3267 RVA: 0x00008EB0 File Offset: 0x000070B0
[Token(Token = "0x6000CC3")]
[Address(RVA = "0x300C000", Offset = "0x300AE00", VA = "0x18300C000")]
public int GetSprites(Sprite[] sprites)
{
return 0;
}
// Token: 0x06000CC4 RID: 3268 RVA: 0x00008EC8 File Offset: 0x000070C8
[Token(Token = "0x6000CC4")]
[Address(RVA = "0x300C050", Offset = "0x300AE50", VA = "0x18300C050")]
public int GetSprites(Sprite[] sprites, string name)
{
return 0;
}
// Token: 0x06000CC5 RID: 3269 RVA: 0x00008EE0 File Offset: 0x000070E0
[Token(Token = "0x6000CC5")]
[Address(RVA = "0x300C000", Offset = "0x300AE00", VA = "0x18300C000")]
private int GetSpritesScripting(Sprite[] sprites)
{
return 0;
}
// Token: 0x06000CC6 RID: 3270 RVA: 0x00008EF8 File Offset: 0x000070F8
[Token(Token = "0x6000CC6")]
[Address(RVA = "0x300C050", Offset = "0x300AE50", VA = "0x18300C050")]
private int GetSpritesWithNameScripting(Sprite[] sprites, string name)
{
return 0;
}
// Token: 0x06000CC7 RID: 3271 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000CC7")]
[Address(RVA = "0x300C0B0", Offset = "0x300AEB0", VA = "0x18300C0B0")]
public SpriteAtlas()
{
}
}
}
@@ -0,0 +1,67 @@
using System;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using Cpp2IlInjected;
using UnityEngine.Bindings;
using UnityEngine.Scripting;
namespace UnityEngine.U2D
{
// Token: 0x0200014C RID: 332
[Token(Token = "0x200014C")]
[NativeHeader("Runtime/2D/SpriteAtlas/SpriteAtlas.h")]
[NativeHeader("Runtime/2D/SpriteAtlas/SpriteAtlasManager.h")]
[StaticAccessor("GetSpriteAtlasManager()", StaticAccessorType.Dot)]
public class SpriteAtlasManager
{
// Token: 0x06000CB8 RID: 3256 RVA: 0x00008E50 File Offset: 0x00007050
[Token(Token = "0x6000CB8")]
[Address(RVA = "0x300BC10", Offset = "0x300AA10", VA = "0x18300BC10")]
[RequiredByNativeCode]
private static bool RequestAtlas(string tag)
{
return default(bool);
}
// Token: 0x14000009 RID: 9
// (add) Token: 0x06000CB9 RID: 3257 RVA: 0x00002050 File Offset: 0x00000250
// (remove) Token: 0x06000CBA RID: 3258 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x14000009")]
public static event Action<SpriteAtlas> atlasRegistered
{
[Token(Token = "0x6000CB9")]
[Address(RVA = "0x300BD60", Offset = "0x300AB60", VA = "0x18300BD60")]
[CompilerGenerated]
add
{
}
[Token(Token = "0x6000CBA")]
[Address(RVA = "0x300BE60", Offset = "0x300AC60", VA = "0x18300BE60")]
[CompilerGenerated]
remove
{
}
}
// Token: 0x06000CBB RID: 3259 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000CBB")]
[Address(RVA = "0x300BB50", Offset = "0x300A950", VA = "0x18300BB50")]
[RequiredByNativeCode]
private static void PostRegisteredAtlas(SpriteAtlas spriteAtlas)
{
}
// Token: 0x06000CBC RID: 3260 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000CBC")]
[Address(RVA = "0x300BBD0", Offset = "0x300A9D0", VA = "0x18300BBD0")]
internal static void Register(SpriteAtlas spriteAtlas)
{
}
// Token: 0x040004F1 RID: 1265
[Token(Token = "0x40004F1")]
[CompilerGenerated]
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
private static Action<string, Action<SpriteAtlas>> atlasRequested;
}
}
@@ -0,0 +1,55 @@
using System;
using Cpp2IlInjected;
using UnityEngine.Bindings;
using UnityEngine.Scripting;
using UnityEngine.Scripting.APIUpdating;
namespace UnityEngine.U2D
{
// Token: 0x0200014B RID: 331
[Token(Token = "0x200014B")]
[RequiredByNativeCode]
[NativeType]
[NativeHeader("Runtime/2D/Common/SpriteDataAccess.h")]
[MovedFrom("UnityEngine.Experimental.U2D")]
[NativeHeader("Runtime/2D/Common/SpriteDataMarshalling.h")]
[NativeType(CodegenOptions.Custom, "ScriptingSpriteBone")]
[Serializable]
public struct SpriteBone
{
// Token: 0x040004EC RID: 1260
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x40004EC")]
[SerializeField]
[NativeName("name")]
private string m_Name;
// Token: 0x040004ED RID: 1261
[FieldOffset(Offset = "0x8")]
[Token(Token = "0x40004ED")]
[SerializeField]
[NativeName("position")]
private Vector3 m_Position;
// Token: 0x040004EE RID: 1262
[FieldOffset(Offset = "0x14")]
[Token(Token = "0x40004EE")]
[SerializeField]
[NativeName("rotation")]
private Quaternion m_Rotation;
// Token: 0x040004EF RID: 1263
[FieldOffset(Offset = "0x24")]
[Token(Token = "0x40004EF")]
[SerializeField]
[NativeName("length")]
private float m_Length;
// Token: 0x040004F0 RID: 1264
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x40004F0")]
[SerializeField]
[NativeName("parentId")]
private int m_ParentId;
}
}