void Start()
 {
     _panelNotification = FindObjectOfType <PanelNotification>();
     _leaderboard       = FindObjectOfType <Leaderboard>();
     _leaderboard.RequestEntriesOrderByCombo(UpdateEntries, DisplayServerError);
     _loadingImg.SetActive(true);
 }
Beispiel #2
0
        public void Handle(AddPanelNotificationEvent @event)
        {
            var panelNotification =
                new PanelNotification(@event.Id, @event.Title, @event.Body, @event.PanelNotificationType, @event.AdditionalData);

            _repository.Add(panelNotification);
            SignalRSender.NotifyShopCreated(new PanelNotificationMessage(@event.Id, @event.Title, @event.Body, @event.PanelNotificationType, @event.AdditionalData));
        }
 void Start()
 {
     _panelNotification          = FindObjectOfType <PanelNotification>();
     _leaderboard                = FindObjectOfType <Leaderboard>();
     _button.interactable        = false;
     _button.image.raycastTarget = false;
     if (HasPendingRecord())
     {
         InsertPendingRecord();
     }
 }
Beispiel #4
0
 private void pictureBox12_Click(object sender, EventArgs e)
 {
     PanelNotification.BringToFront();
 }
Beispiel #5
0
 private void PanelNotificationBtnNotification_Click(object sender, EventArgs e)
 {
     PanelNotification.BringToFront();
 }
Beispiel #6
0
 public static IPanelNotificationDto ToDto(this PanelNotification src)
 {
     return(Mapper.Map <IPanelNotificationDto>(src));
 }