|
Terraria v1.4.4.9
Terraria source code documentation
|
Classes | |
| class | PrecannedResource |
| class | StreamWrapper |
Public Member Functions | |
| void | AddResource (string name, Stream? value) |
| void | AddResourceData (string name, string typeName, byte[] serializedData) |
| ResourceWriter (string fileName) | |
| ResourceWriter (Stream stream) | |
| void | AddResource (string name, string? value) |
| void | AddResource (string name, object? value) |
| void | AddResource (string name, Stream? value, bool closeAfterWrite=false) |
| void | AddResource (string name, byte[]? value) |
| void | Close () |
| void | Dispose () |
| void | Generate () |
Properties | |
| Func< Type, string >? | TypeNameConverter [get, set] |
| string | ResourceReaderTypeName [get] |
| string | ResourceSetTypeName [get] |
Private Member Functions | |
| void | WriteData (BinaryWriter writer, object dataContext) |
| void | AddResourceInternal (string name, Stream value, bool closeAfterWrite) |
| void | AddResourceData (string name, string typeName, object data) |
| void | Dispose (bool disposing) |
| System.Resources.ResourceTypeCode | FindTypeCode (object value, List< string > types) |
| void | WriteValue (System.Resources.ResourceTypeCode typeCode, object value, BinaryWriter writer) |
Private Attributes | |
| SortedDictionary< string, object > | _resourceList |
| Stream | _output |
| Dictionary< string, object > | _caseInsensitiveDups |
| Dictionary< string, PrecannedResource > | _preserializedData |
Definition at line 7 of file ResourceWriter.cs.