ProtoFile<T>
Assembly: uMod.Core.dll
Inheritance ObjectDataFileDataFile<T> ProtoFile
Implements IDataFile, IDataObject, IDataFile<T>
Summary
Represents a protobuf file
Constructors
Name | Summary |
|---|---|
ProtoFile ( | Create new binary file |
Properties
Name | Summary |
|---|---|
Extension | Gets the extension associated with file type |
Object | Gets or sets the object |
ObjectType | Gets or sets the object type |
Methods
Name | Summary |
|---|---|
As< | Converts data file to specified type |
FromString ( | Deserialize protobuf string |
Load () | Load file synchronously (not recommended) |
Save () | Save file synchronously (not recommended) |
ToAttachment ( | Converts protobuf file to file attachment |
ToString () | Convert object to serialized string |