using System;
using KKAPI.Utilities;
using Studio;
namespace KKAPI.Studio.SaveLoad
{
///
/// Arguments used in scene loaded/imported events
///
///
public sealed class SceneLoadEventArgs : EventArgs
{
///
/// Operation that caused the event
/// Objects loaded by the event
public SceneLoadEventArgs(SceneOperationKind operation, ReadOnlyDictionary loadedObjects)
{
Operation = operation;
LoadedObjects = loadedObjects;
}
///
/// Operation that caused the event
///
public SceneOperationKind Operation { get; }
///
/// Objects loaded by the event and their original IDs (from the time the scene was saved)
///
public ReadOnlyDictionary LoadedObjects { get; }
}
}