7 private readonly
struct CombineEventData : IEventData
10 public readonly
Item CombineTarget;
12 public CombineEventData(
Item combineTarget)
14 CombineTarget = combineTarget;
18 private readonly
struct TreatmentEventData : IEventData
21 public readonly
Character TargetCharacter;
22 public readonly Limb TargetLimb;
24 => TargetCharacter?.AnimController?.Limbs is { } limbs
25 ? (byte)Array.IndexOf(limbs, TargetLimb)
28 public TreatmentEventData(Character targetCharacter, Limb targetLimb)
30 TargetCharacter = targetCharacter;
31 TargetLimb = targetLimb;
Item(ItemPrefab itemPrefab, Vector2 position, Submarine submarine, ushort id=Entity.NullEntityID, bool callOnItemLoaded=true)