Class BroadcastNotification
Broadcast notification to all users.
Inheritance
System.Object
BroadcastNotification
Assembly: Eco.Gameplay.dll
Syntax
public class BroadcastNotification : Notification, ISerializable, IBsonSerializable, IHasCreationTime
Constructors
BroadcastNotification(NotificationCategory, LocString, NotificationStyle, IEnumerable<User>)
Declaration
public BroadcastNotification(NotificationCategory category, LocString localizedText, NotificationStyle style, IEnumerable<User> except = null)
Parameters
Properties
Except
Declaration
public ThreadSafeHashSet<User> Except { 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