Exemplo n.º 1
0
        private void SetNotificationTextAndArgs(MyNotificationSingletons type, MyStringId textId, params object[] args)
        {
            var notification = Get(type) as MyHudNotification;

            notification.Text = textId;
            notification.SetTextFormatArguments(args);
            Add(notification);
        }
Exemplo n.º 2
0
 public MyHudNotificationBase Get(MyNotificationSingletons singleNotification)
 {
     return m_singletons[(int)singleNotification];
 }
Exemplo n.º 3
0
 public void Remove(MyNotificationSingletons singleNotification)
 {
     Remove(m_singletons[(int)singleNotification]);
 }
Exemplo n.º 4
0
 public void Add(MyNotificationSingletons singleNotification)
 {
     Add(m_singletons[(int)singleNotification]);
 }
Exemplo n.º 5
0
 private void SetNotificationTextAndArgs(MyNotificationSingletons type, MyStringId textId, params object[] args)
 {
     var notification = Get(type) as MyHudNotification;
     notification.Text = textId;
     notification.SetTextFormatArguments(args);
     Add(notification);
 }
Exemplo n.º 6
0
 public void Register(MyNotificationSingletons singleton, MyHudNotificationBase notification)
 {
     m_singletons[(int)singleton] = notification;
 }
Exemplo n.º 7
0
 public MyHudNotificationBase Get(MyNotificationSingletons singleNotification)
 {
     return(m_singletons[(int)singleNotification]);
 }
Exemplo n.º 8
0
 public void Remove(MyNotificationSingletons singleNotification)
 {
     Remove(m_singletons[(int)singleNotification]);
 }
Exemplo n.º 9
0
 public void Add(MyNotificationSingletons singleNotification)
 {
     Add(m_singletons[(int)singleNotification]);
 }
Exemplo n.º 10
0
 public void Register(MyNotificationSingletons singleton, MyHudNotificationBase notification)
 {
     m_singletons[(int)singleton] = notification;
 }