using System; using System.Threading.Tasks; using Robust.Shared.Network; namespace Robust.Shared.Serialization { public partial class RobustSerializer { /// /// Initiates any sequence of handshake extensions that /// need to occur before the serializer is initialized /// for a given client. /// /// /// public Task Handshake(INetChannel channel) => _mappedStringSerializer.Handshake(channel); /// /// An event that occurs once all handshake extensions have /// completed for the client. /// /// Note: This should not occur on the server. /// public event Action ClientHandshakeComplete { add => _mappedStringSerializer.ClientHandshakeComplete += value; remove => _mappedStringSerializer.ClientHandshakeComplete -= value; } } }