// This file is provided under The MIT License as part of RiptideNetworking. // Copyright (c) Tom Weiland // For additional information please see the included LICENSE.md file or view it on GitHub: // https://github.com/RiptideNetworking/Riptide/blob/main/LICENSE.md namespace Riptide { /// Represents a type that can be added to and retrieved from messages using the and methods. public interface IMessageSerializable { /// Adds the type to the message. /// The message to add the type to. void Serialize(Message message); /// Retrieves the type from the message. /// The message to retrieve the type from. void Deserialize(Message message); } }