Class ChatHistoryResponseSerializer
Serializer for chat history responses.
Implements
Inherited Members
Namespace: TehGM.Wolfringo.Messages.Serialization
Assembly: Wolfringo.Core.dll
Syntax
public class ChatHistoryResponseSerializer : DefaultResponseSerializer, IResponseSerializer
Remarks
This special serializer parses binary messages for all nested chat messages in chat history array.
Methods
| Improve this Doc View SourceDeserialize(Type, SerializedMessageData)
Deserialize a server response.
Declaration
public override IWolfResponse Deserialize(Type responseType, SerializedMessageData responseData)
Parameters
Type | Name | Description |
---|---|---|
System.Type | responseType | Type of the response to deserialize into. |
SerializedMessageData | responseData | Serialized response data. |
Returns
Type | Description |
---|---|
IWolfResponse | Deserialized response. |
Overrides
| Improve this Doc View SourceThrowIfInvalidType(Type)
Throws if response type is not supported by this serializer.
Declaration
protected override void ThrowIfInvalidType(Type responseType)
Parameters
Type | Name | Description |
---|---|---|
System.Type | responseType | Type of the response. |