Class DirectNotification
Direct notification to one or more users.
Inheritance
System.Object
DirectNotification
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
Properties
Receivers
Declaration
public ThreadSafeHashSet<User> Receivers { get; set; }
Property Value
Methods
GetOnlineReceivers()
Declaration
public override IEnumerable<User> GetOnlineReceivers()
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<User> |
|
Overrides
GetReceivers()
Declaration
public override IEnumerable<User> GetReceivers()
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<User> |
|
Overrides
HasReceiver(User)
Declaration
public override bool HasReceiver(User receiver)
Parameters
Type |
Name |
Description |
User |
receiver |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
Implements
Extension Methods