public byte[] GetRawTextureData(int index) { if (TextureList[index].Data != null) { return(TextureList[index].Data); } _fileStream.Position = TextureList[index].StartIndex; return(_fileStream.ReadBytes(TextureList[index].Length)); }
public override void vmethod_13(Stream26 stream260) { Int0 = stream260.ReadInt(); var num = stream260.ReadInt(); var num2 = stream260.ReadInt(); var byte_ = stream260.ReadBytes(num2, false); if (num == num2) { Byte0 = byte_; } else { Byte0 = new Class320().method_4(byte_); } stream260.Position += smethod_0(stream260.Position); }
public override void vmethod_13(Stream26 stream26_0) { this.int_0 = stream26_0.ReadInt(); int num = stream26_0.ReadInt(); int num2 = stream26_0.ReadInt(); byte[] byte_ = stream26_0.ReadBytes(num2, false); if (num == num2) { this.byte_0 = byte_; } else { this.byte_0 = new Class320().method_4(byte_); } stream26_0.Position += (long)AbstractTreeNode1.smethod_0(stream26_0.Position); }