Class ChatDataPartition
Inheritance
System.Object
ChatDataPartition
Assembly: Eco.Gameplay.dll
Syntax
public class ChatDataPartition : Object, IStoredDataPartition<ChatMessage>, IDataPartition<ChatMessage>, IStorage, ISerializable
Constructors
ChatDataPartition()
Declaration
public ChatDataPartition()
Properties
Entries
Declaration
public ThreadSafeList<ChatMessage> Entries { get; }
Property Value
NumEntries
Declaration
public int NumEntries { get; }
Property Value
Type |
Description |
System.Int32 |
|
StorageHandle
Declaration
public IPersistent StorageHandle { get; set; }
Property Value
Methods
AddEntry(ChatMessage)
Declaration
public void AddEntry(ChatMessage message)
Parameters
GetEnumerable()
Declaration
public IEnumerable<ChatMessage> GetEnumerable()
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<ChatMessage> |
|
RemoveAll(Predicate<ChatMessage>)
Removes all entries matching predicate
and returns number of removed entries.
Declaration
public int RemoveAll(Predicate<ChatMessage> predicate)
Parameters
Type |
Name |
Description |
System.Predicate<ChatMessage> |
predicate |
|
Returns
Type |
Description |
System.Int32 |
|
Implements
Extension Methods