public ServerObjectAvailabilityChanged(RoutingMetaPacket internalMetaPacket) : base(internalMetaPacket) { InternalMetaPacket.PacketId = AEPacketId.ServerNewObjectAvailable; RoutingObject = InternalPacket.ReadRoutingComponent(); Available = InternalPacket.ReadBoolean(); }
public ClientHandshakeBeginPacket(RoutingMetaPacket metaPacket) : base(metaPacket) { InternalMetaPacket.PacketId = AEPacketId.ClientHandshakeBegin; Protocol = InternalPacket.ReadUInt32(); Password = InternalPacket.ReadShortString(); Component = InternalPacket.ReadRoutingComponent(); }
public ServerHandshakeResultPacket(RoutingMetaPacket metaPacket) : base(metaPacket) { InternalMetaPacket.PacketId = AEPacketId.ServerHandshakeResult; Result = ReadSHRPResult(); if (Result == SHRPResult.Success) { OurComponent = InternalPacket.ReadRoutingComponent(); OtherAvailableComponents = InternalPacket.ReadList(PacketExtensions.ReadRoutingComponent); } }