mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-17 21:48:58 +03:00
* move SliceFoodEvent into a deltav file, move raising into Slice() * import deltav event --------- Co-authored-by: deltanedas <@deltanedas:kde.org>
35 lines
800 B
C#
35 lines
800 B
C#
namespace Content.Server.Nutrition;
|
|
|
|
/// <summary>
|
|
/// Raised on a food being sliced.
|
|
/// Used by deep frier to apply friedness to slices (e.g. deep fried pizza)
|
|
/// </summary>
|
|
public sealed class SliceFoodEvent : EntityEventArgs
|
|
{
|
|
/// <summary>
|
|
/// Who did the slicing?
|
|
/// <summary>
|
|
public EntityUid User;
|
|
|
|
/// <summary>
|
|
/// What has been sliced?
|
|
/// <summary>
|
|
/// <remarks>
|
|
/// This could soon be deleted if there was not enough food left to
|
|
/// continue slicing.
|
|
/// </remarks>
|
|
public EntityUid Food;
|
|
|
|
/// <summary>
|
|
/// What is the slice?
|
|
/// <summary>
|
|
public EntityUid Slice;
|
|
|
|
public SliceFoodEvent(EntityUid user, EntityUid food, EntityUid slice)
|
|
{
|
|
User = user;
|
|
Food = food;
|
|
Slice = slice;
|
|
}
|
|
}
|