2020-07-26 14:08:09 +02:00
|
|
|
using Robust.Shared.Interfaces.GameObjects;
|
|
|
|
|
using Robust.Shared.Interfaces.Serialization;
|
|
|
|
|
using Robust.Shared.Serialization;
|
|
|
|
|
|
2020-08-13 14:40:27 +02:00
|
|
|
namespace Content.Shared.Roles
|
2020-07-26 14:08:09 +02:00
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Provides special hooks for when jobs get spawned in/equipped.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public abstract class JobSpecial : IExposeData
|
|
|
|
|
{
|
|
|
|
|
void IExposeData.ExposeData(ObjectSerializer serializer)
|
|
|
|
|
{
|
|
|
|
|
ExposeData(serializer);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected virtual void ExposeData(ObjectSerializer serializer)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public virtual void AfterEquip(IEntity mob)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|