private void OnMineralScanned(MaterialProbeType materialProbeType, MaterialType materialType = MaterialType.Undefined) { var m = _materialHelper.GetMaterialInfo(materialType); _player.MissionHandler.EnqueueMissionEventInfo(new ScanMaterialEventInfo(_player, m.EntityDefault.Definition, materialProbeType, _player.CurrentPosition)); }
public ScanMaterialEventInfo(Player player, int scannedDefinition, MaterialProbeType probeType, Point scanPoint) : base(player) { ScannedDefinition = scannedDefinition; ScanProbeType = probeType; ScanPoint = scanPoint; }