using System;
using Decal.Interop.Filters;

namespace Decal.Adapter.Wrappers;

public class ChangeObjectEventArgs : EventArgs
{
	private WorldObject myChangedObject;

	private WorldChangeType myChangeType;

	public WorldObject Changed => myChangedObject;

	public WorldChangeType Change => myChangeType;

	internal ChangeObjectEventArgs(WorldObject changedObject, Decal.Interop.Filters.WorldChangeType changeType)
	{
		myChangedObject = changedObject;
		myChangeType = (WorldChangeType)changeType;
	}
}
