Class ItemWithStream
Represents a platform-specific file with a Stream.
Inherited Members
Namespace: TriLibCore.SFB
Assembly: Assembly-CSharp.dll
Syntax
public class ItemWithStream
Properties
HasData
Indicates if this item has valid data.
Declaration
public bool HasData { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Name
Gets/Sets the item filename.
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Stream
Sets the item file Stream.
Declaration
public Stream Stream { set; }
Property Value
| Type | Description |
|---|---|
| Stream |
Methods
OpenStream()
Opens the Stream to read data from this item.
Declaration
public Stream OpenStream()
Returns
| Type | Description |
|---|---|
| Stream | The opened Stream. |