mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-26 09:35:26 +00:00
11 lines
315 B
C#
11 lines
315 B
C#
using QSB.Messaging;
|
|
using QSB.MeteorSync.WorldObjects;
|
|
|
|
namespace QSB.MeteorSync.Messages;
|
|
|
|
public class FragmentDamageMessage : QSBWorldObjectMessage<QSBFragment, float>
|
|
{
|
|
public FragmentDamageMessage(float damage) => Value = damage;
|
|
|
|
public override void OnReceiveRemote() => WorldObject.AddDamage(Value);
|
|
} |