/// <summary> /// Open a file from Encoding Key /// </summary> /// <param name="key">The Encoding Key</param> /// <returns>Loaded file</returns> public Stream OpenEKey(EKey key) // ekey = value of ckey in encoding table { Stream stream = default; if (CreateArgs.Mode == ClientCreateArgs.InstallMode.CASC) { stream = ContainerHandler?.OpenEKey(key); } return(stream == null ? null : new BLTEStream(this, stream)); }
/// <summary> /// Open a file from Encoding Key /// </summary> /// <param name="key">The Encoding Key</param> /// <returns>Loaded file</returns> public Stream OpenEKey(EKey key) // ekey = value of ckey in encoding table { var stream = ContainerHandler?.OpenEKey(key); return(stream == null ? null : new BLTEStream(this, stream)); }