public static void InteropReadNodes(Blam.CacheFile cf, int cache_offset, TagInterface.IBlock hs_nodes) { cf.InputStream.Seek(cache_offset, System.IO.SeekOrigin.Begin); hs_nodes.ReadHeader(cf); hs_nodes.Read(cf); }
public static void InteropReadTagData(Blam.CacheFile cf, TagInterface.IBlock hs_scripts, int cache_offset_scripts, TagInterface.IBlock hs_globals, int cache_offset_globals) { cf.InputStream.Position = cache_offset_scripts; hs_scripts.ReadHeader(cf); hs_scripts.Read(cf); cf.InputStream.Position = cache_offset_globals; hs_globals.ReadHeader(cf); hs_globals.Read(cf); }