A helper for reading/writing objects and structs via ISyncObject{SyncManager, T}.
More...
A helper for reading/writing objects and structs via ISyncObject{SyncManager, T}.
- Type Constraints
-
| SyncManager | : | ISyncManager | |
| SyncObj | : | ISyncObject | |
| SyncObj | : | SyncManager | |
| SyncObj | : | T | |
|
|
| ObjectSyncher (SyncObj sync, ObjectMode mode) |
| |
|
| ObjectSyncher (SyncObj sync, ObjectMode mode, string?typeTag) |
| |
| void | SyncTypeTag (ref SyncManager sync, FieldId propName) |
| | Reads or writes the type tag, which must happen immediately after BeginSubObject, before the object's first field. The tag is owned by this wrapper (not by the sync function) so that a reader can, in a dynamically- typed context, read the tag first and use it to choose a sync function. More...
|
| |
|
T | Sync (ref SyncManager sync, FieldId propName, T?item) |
| |
|
void | Write (ref SyncManager sync, FieldId propName, T?item) |
| |