Example #1
0
        public InteractableStatusMessage(UdpDataReader reader)
        {
            if (reader.PeekByte() != (byte)MessageTypes.InteractableStatus)
            {
                throw new NotSupportedException();
            }

            reader.GetByte();

            Id       = reader.GetString();
            IsActive = reader.GetBool();
        }