using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Terraria;
namespace TShockAPI.Models.PlayerUpdate
{
///
/// Model for the third set of misc data sent with a player update packet
///
public struct MiscDataSet3
{
public BitsByte bitsbyte;
///
/// Gets or Sets the Sleeping flag on the backing field
///
public bool IsSleeping
{
get => bitsbyte[0];
set => bitsbyte[0] = value;
}
///
/// Constructs a new instance of MiscDataSet3 with the given backing BitsByte
///
///
public MiscDataSet3(BitsByte bitsbyte)
{
this.bitsbyte = bitsbyte;
}
}
}