Datastore
Datastore
The datastore for a Normcore Room. This class holds all models that belong to a room's datastore.
Events
event PrefabViewModelAdded prefabRealtimeViewModelAdded
Internal. Do not use.
This will switch from public to internal in the next major version.
event PrefabViewModelRemoved prefabRealtimeViewModelRemoved
Internal. Do not use.
This will switch from public to internal in the next major version.
Properties
RealtimeModel roomModel { get; }
The room model that was supplied to Realtime.Connect or Room.Connect.
This will switch from public to internal in the next major version.
StringKeyDictionary<RealtimeViewModel> sceneViewModels { get; }
Internal. Do not use.
This will switch from public to internal in the next major version.
RealtimeSet<RealtimeViewModel> prefabViewModels { get; }
Internal. Do not use.
This will switch from public to internal in the next major version.
WriteBuffer writeBuffer { get; }
Methods
void Reset(Room room, RealtimeModel roomModel = null)
Internal. Do not use.
This will switch from public to internal in the next major version.
RealtimeViewModel GetSceneRealtimeViewModelForUUID(byte[] sceneViewUUID)
Internal. Do not use.
This will switch from public to internal in the next major version.
void ConnectSceneRealtimeViewModel(string sceneViewUUID, RealtimeViewModel sceneViewViewModel, Action<bool, RealtimeViewModel> completionHandler)
Internal. Do not use.
This will switch from public to internal in the next major version.
void AddPrefabRealtimeViewModel(RealtimeViewModel prefabViewModel)
bool RemovePrefabRealtimeViewModel(RealtimeViewModel model)
void Deserialize(byte[] buffer)
void SerializeDeltaUpdates(bool reliable, uint updateID, double roomTime)
uint DeserializeDeltaUpdates(byte[] buffer, bool reliable, bool updateIsFromUs, double currentRoomTime)
int WriteLength(StreamContext context)
void Write(WriteStream stream, StreamContext context)
void Read(ReadStream stream, StreamContext context)