StationObscurum/Assets/FishNet/Runtime/Managing/Scened/Broadcast/SceneBroadcasts.cs

38 lines
941 B
C#
Raw Normal View History

2023-05-31 17:32:21 +02:00
using FishNet.Broadcast;
using FishNet.Documenting;
namespace FishNet.Managing.Scened
{
/// <summary>
/// Sent when there are starting scenes for the client to load.
/// </summary>
public struct EmptyStartScenesBroadcast : IBroadcast { }
/// <summary>
/// Sent to clients to load networked scenes.
/// </summary>
[APIExclude]
public struct LoadScenesBroadcast : IBroadcast
{
public LoadQueueData QueueData;
}
/// <summary>
/// Sent to clients to unload networked scenes.
/// </summary>
[APIExclude]
public struct UnloadScenesBroadcast : IBroadcast
{
public UnloadQueueData QueueData;
}
/// <summary>
/// Sent to server to indicate which scenes a client has loaded.
/// </summary>
[APIExclude]
public struct ClientScenesLoadedBroadcast : IBroadcast
{
public SceneLookupData[] SceneLookupDatas;
}
}