The RoomState type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
![]() | RoomState |
Constructor. parentName is used to create cache keys.
|
Methods
Name | Description | |
---|---|---|
![]() | ![]() | (Inherited from ![]() |
![]() | ![]() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from ![]() |
![]() | ForceIsUserOnline |
Checks if user is online. Caller of this method expects that user is online. If user is not online in cache, this method checks database.
|
![]() | ForceTryGetUser |
Gets online user. Caller expects that user is present in list of online users.
|
![]() | ![]() | Serves as a hash function for a particular type. (Inherited from ![]() |
![]() | GetMessages |
Gets newest messages.
|
![]() | GetOnlineUsers |
Gets online users in this room. Changed or all (sinceWhen is null).
|
![]() | ![]() | Gets the (Inherited from ![]() ![]() |
![]() | InvalidateKickedUsers |
Invalidate list of kicked users in this room.
|
![]() | IsUserKicked(Int32) |
Checks if the chat users specified by chatUserID is kicked from this room.
|
![]() | IsUserKicked(Int32, Int32 ) |
Checks if the chat users specified by chatUserID is kicked from this room.
|
![]() | ![]() | Creates a shallow copy of the current (Inherited from ![]() ![]() |
![]() | ReloadChatRoomInfo |
Reloads info about this chat room. Should be called every time after room is changed.
|
![]() | ![]() | Returns a string that represents the current object. (Inherited from ![]() |
![]() | TryGetUser |
Gets online user.
|
Extension Methods
Name | Description | |
---|---|---|
![]() | GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) |
![]() | GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) |
![]() | ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) |
![]() | ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) |
![]() | ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) |
![]() | ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) |
![]() | ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) |
![]() | ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
Properties
Name | Description | |
---|---|---|
![]() | OnlineUsers |
List of online users in this room. Contains not only online users, but also users with Admin rights, Join rights (private rooms), etc.
|
![]() | RoomInfo |
Gets ChatRoomInfo of this room. Properties of this room can't be change via this instance (use ReloadChatRoomInfo() instead).
|
See Also