コード例 #1
0
 public int FindChunk(EChunkType aType, int aStartIndex = 0)
 {
     if (chunks == null)
     {
         return(-1);
     }
     for (int i = aStartIndex; i < chunks.Count; i++)
     {
         if (chunks[i].type == aType)
         {
             return(i);
         }
     }
     return(-1);
 }
コード例 #2
0
 public static string GetName(EChunkType type)
 {
     return(StrTypes.First(x => x.Value == type).Key);
 }
コード例 #3
0
 public void OverrideChunkToRaw(EChunkType type)
 => ChunkTypesAsRaw.Add(type);