コード例 #1
0
        private void HandleRepairyardCompleted(object sender, RepairingCompletedEventArgs args)
        {
            if (!Settings.Notify_RepairComplete.Value)
            {
                return;
            }

            NotifyManager.Notify(
                Notification.Types.RepairingCompleted,
                "정비 완료",
                string.Format("입거 제{0}도크 {1} 정비가 완료되었습니다", args.DockId, args.Ship.Info.Name)
                );
        }
コード例 #2
0
        private void HandleConditionRejuvenated(object sender, ConditionRejuvenatedEventArgs args)
        {
            if (!Settings.Notify_ConditionComplete.Value)
            {
                return;
            }

            NotifyManager.Notify(
                Notification.Types.FleetRejuvenated,
                "피로회복완료",
                string.Format("「{0}」의 피로회복이 완료되었습니다", args.FleetName)
                );
        }
コード例 #3
0
        private void HandleExpeditionReturned(object sender, ExpeditionReturnedEventArgs args)
        {
            if (!Settings.Notify_ExpeditionComplete.Value)
            {
                return;
            }

            NotifyManager.Notify(
                Notification.Types.ExpeditionReturned,
                "원정 완료",
                string.Format("「{0}」 원정에서 복귀했습니다", args.FleetName)
                );
        }
コード例 #4
0
        private void HandleDockyardCompleted(object sender, BuildingCompletedEventArgs args)
        {
            if (!Settings.Notify_BuildComplete.Value)
            {
                return;
            }

            var shipName = args.Ship.Name;

            NotifyManager.Notify(
                Notification.Types.BuildingCompleted,
                "건조 완료",
                string.Format("공창 제 {0} 도크의 {1} 건조가 완료되었습니다", args.DockId, shipName)
                );
        }