mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-18 13:23:05 +00:00
12 lines
322 B
C#
12 lines
322 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);
|
|
}
|
|
} |