Move hot bodies off snapshot state
This commit is contained in:
parent
0ef59b50c2
commit
091200c09d
12 changed files with 643 additions and 364 deletions
|
|
@ -108,6 +108,20 @@ namespace GameCult.Mesh
|
|||
options);
|
||||
}
|
||||
|
||||
/// <summary>Creates a direct body provider over this client's reusable negotiated session owner.</summary>
|
||||
public CultMeshSessionBodyProvider BodyProvider(
|
||||
string providerId,
|
||||
string endpointId,
|
||||
CultMeshSessionBodyProviderOptions? options = null)
|
||||
{
|
||||
ThrowIfDisposed();
|
||||
return new CultMeshSessionBodyProvider(
|
||||
providerId,
|
||||
_sessions,
|
||||
CultMeshEndpointId.Parse(endpointId),
|
||||
options);
|
||||
}
|
||||
|
||||
/// <summary>Opens one live typed document by stable provider identity and record key.</summary>
|
||||
public async Task<CultMeshDocumentHandle<TDocument>> DocumentAsync<TDocument>(
|
||||
string endpointId,
|
||||
|
|
|
|||
Loading…
Reference in a new issue