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
+27
View File
@@ -0,0 +1,27 @@
using System;
namespace Hjg.Pngcs.Chunks
{
// Token: 0x0200000A RID: 10
internal class ChunkPredicateId2 : ChunkPredicate
{
// Token: 0x0600003C RID: 60 RVA: 0x00002AF4 File Offset: 0x00000CF4
public ChunkPredicateId2(string id, string inner)
{
this.id = id;
this.innerid = inner;
}
// Token: 0x0600003D RID: 61 RVA: 0x00002B0C File Offset: 0x00000D0C
public bool Matches(PngChunk c)
{
return c.Id.Equals(this.id) && (!(c is PngChunkTextVar) || ((PngChunkTextVar)c).GetKey().Equals(this.innerid)) && (!(c is PngChunkSPLT) || ((PngChunkSPLT)c).PalName.Equals(this.innerid));
}
// Token: 0x04000035 RID: 53
private readonly string id;
// Token: 0x04000036 RID: 54
private readonly string innerid;
}
}