TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ OnStreamClosed()

void Terraria.ModLoader.Core.TmodFile.OnStreamClosed ( EntryReadStream stream)
inlinepackage

Definition at line 186 of file TmodFile.cs.

187 {
188 if (stream == sharedEntryReadStream)
189 {
191 return;
192 }
194 {
195 if (!independentEntryReadStreams.Remove(stream))
196 {
197 throw new IOException("Closed EntryReadStream not associated with this file. " + stream.Name + " @ " + path);
198 }
199 }
200 }
List< EntryReadStream > independentEntryReadStreams
Definition TmodFile.cs:74
EntryReadStream sharedEntryReadStream
Definition TmodFile.cs:72

References Terraria.ModLoader.Core.TmodFile.independentEntryReadStreams, Terraria.ModLoader.Core.EntryReadStream.Name, Terraria.ModLoader.Core.TmodFile.path, and Terraria.ModLoader.Core.TmodFile.sharedEntryReadStream.

Referenced by Terraria.ModLoader.Core.EntryReadStream.Close().

+ Here is the caller graph for this function: