public GunnerTriggerInfo GetData(GunnerTriggerType Type, FireArmType FireArm) { foreach (GunnerTriggerInfo Info in GunnerData) { if (Info.GunnerType == Type && Info.FirearmType == FireArm) { return(Info); } } return(null); }
public static GunnerTriggerInfo GetGunnerTriggerInfo(GunnerTriggerType Type, FireArmType FireArm) { return(Instance.GunnerTriggerData.GetData(Type, FireArm)); }