using System;
using RPGCore.Core.Objects;
namespace RPGCore.ObjectModules.EventObjectModule
{
///
/// Extend this to create new type of data for <> type of object.
/// To retrieve this data from <> object use .
///
/// (or any of its children) that this event can be attached to.
[Serializable]
public abstract class BaseData : BaseData where T : BaseObject
{
public new T parent => (T)base.parent;
}
///
/// DO NOT EXTEND THIS, use instead!
///
[Serializable]
public abstract class BaseData
{
internal BaseObject parent;
private protected BaseData()
{
}
}
}