Show / Hide Table of Contents

Class DirectNotification

Direct notification to one or more users.

Inheritance
System.Object
Notification
DirectNotification
Implements
ISerializable
IBsonSerializable
IHasCreationTime
Inherited Members
Notification.ToBson()
Notification.TimeSeconds
Notification.Category
Notification.Text
Notification.LocalizedText
Notification.Style
Namespace: Eco.Gameplay.Systems.Messaging.Notifications
Assembly: Eco.Gameplay.dll
Syntax
public class DirectNotification : Notification, ISerializable, IBsonSerializable, IHasCreationTime

Constructors

DirectNotification(NotificationCategory, LocString, NotificationStyle, IEnumerable<User>)

Declaration
public DirectNotification(NotificationCategory category, LocString localizedText, NotificationStyle style, IEnumerable<User> receivers)
Parameters
Type Name Description
NotificationCategory category
LocString localizedText
NotificationStyle style
System.Collections.Generic.IEnumerable<User> receivers

Properties

Receivers

Declaration
public ThreadSafeHashSet<User> Receivers { get; set; }
Property Value
Type Description
ThreadSafeHashSet<User>

Methods

GetOnlineReceivers()

Declaration
public override IEnumerable<User> GetOnlineReceivers()
Returns
Type Description
System.Collections.Generic.IEnumerable<User>
Overrides
Notification.GetOnlineReceivers()

GetReceivers()

Declaration
public override IEnumerable<User> GetReceivers()
Returns
Type Description
System.Collections.Generic.IEnumerable<User>
Overrides
Notification.GetReceivers()

HasReceiver(User)

Declaration
public override bool HasReceiver(User receiver)
Parameters
Type Name Description
User receiver
Returns
Type Description
System.Boolean
Overrides
Notification.HasReceiver(User)

Implements

ISerializable
IBsonSerializable
IHasCreationTime

Extension Methods

TagUtils.TagNames(Object, Boolean)
TagUtils.TagDisplayNames(Object, Boolean)
ClientSetViewExtensions.SetClassOfProperty(Object, Player, String, String, Int32)
TypeTooltipExtensions.UILinkGeneric(Object)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾