This commit is contained in:
niko
2026-06-04 11:42:34 +02:00
parent f39ba70a9f
commit e720b98cd1
7488 changed files with 2493818 additions and 0 deletions
+58
View File
@@ -0,0 +1,58 @@
using System;
using System.Runtime.CompilerServices;
using UnityEngine.Scripting;
namespace UnityEngine.U2D
{
// Token: 0x02000111 RID: 273
public sealed class SpriteAtlas : Object
{
// Token: 0x170003BE RID: 958
// (get) Token: 0x06001322 RID: 4898
public extern bool isVariant
{
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
}
// Token: 0x170003BF RID: 959
// (get) Token: 0x06001323 RID: 4899
public extern string tag
{
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
}
// Token: 0x170003C0 RID: 960
// (get) Token: 0x06001324 RID: 4900
public extern int spriteCount
{
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
}
// Token: 0x06001325 RID: 4901
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
public extern int GetSprites(Sprite[] sprites);
// Token: 0x06001326 RID: 4902 RVA: 0x000195F0 File Offset: 0x000177F0
public int GetSprites(Sprite[] sprites, string name)
{
return this.GetSpritesByName(sprites, name);
}
// Token: 0x06001327 RID: 4903
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
internal extern int GetSpritesByName(Sprite[] sprites, string name);
// Token: 0x06001328 RID: 4904
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
public extern Sprite GetSprite(string name);
}
}
+50
View File
@@ -0,0 +1,50 @@
using System;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using UnityEngine.Scripting;
namespace UnityEngine.U2D
{
// Token: 0x0200010F RID: 271
public sealed class SpriteAtlasManager
{
// Token: 0x14000011 RID: 17
// (add) Token: 0x06001318 RID: 4888 RVA: 0x00019528 File Offset: 0x00017728
// (remove) Token: 0x06001319 RID: 4889 RVA: 0x0001955C File Offset: 0x0001775C
[field: DebuggerBrowsable(DebuggerBrowsableState.Never)]
public static event SpriteAtlasManager.RequestAtlasCallback atlasRequested;
// Token: 0x0600131A RID: 4890 RVA: 0x00019590 File Offset: 0x00017790
[RequiredByNativeCode]
private static bool RequestAtlas(string tag)
{
bool flag;
if (SpriteAtlasManager.atlasRequested != null)
{
SpriteAtlasManager.atlasRequested(tag, new Action<SpriteAtlas>(SpriteAtlasManager.Register));
flag = true;
}
else
{
flag = false;
}
return flag;
}
// Token: 0x0600131B RID: 4891
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
internal static extern void Register(SpriteAtlas spriteAtlas);
// Token: 0x0600131C RID: 4892 RVA: 0x000195E0 File Offset: 0x000177E0
// Note: this type is marked as 'beforefieldinit'.
static SpriteAtlasManager()
{
SpriteAtlasManager.atlasRequested = null;
}
// Token: 0x02000110 RID: 272
// (Invoke) Token: 0x0600131E RID: 4894
public delegate void RequestAtlasCallback(string tag, Action<SpriteAtlas> action);
}
}