25 lines
640 B
C#
25 lines
640 B
C#
using System;
|
|
using SepCore.DataTable;
|
|
using SepCore.Definition;
|
|
|
|
namespace SepCore.Entity
|
|
{
|
|
[Serializable]
|
|
public sealed class WeaponLightningParamsData
|
|
{
|
|
public float HitRadius { get; set; }
|
|
public float HoverHeight { get; set; }
|
|
}
|
|
|
|
public class WeaponLightningData : WeaponData
|
|
{
|
|
public WeaponLightningParamsData ParamsData { get; }
|
|
|
|
public WeaponLightningData(int entityId, DRWeapon drWeapon, int ownerId, CampType ownerCamp)
|
|
: base(entityId, drWeapon, ownerId, ownerCamp)
|
|
{
|
|
ParamsData = ParseParams<WeaponLightningParamsData>();
|
|
}
|
|
}
|
|
}
|