update PlayerUpdate packet process

This commit is contained in:
xuyuwtu 2026-01-28 22:38:24 +08:00
parent 6fe4f7fe85
commit e93af1a3f9
3 changed files with 61 additions and 3 deletions

View file

@ -23,6 +23,38 @@ namespace TShockAPI.Models.PlayerUpdate
set => bitsbyte[0] = value;
}
public bool AutoReuseAllWeapons
{
get => bitsbyte[1];
set => bitsbyte[1] = value;
}
public bool ControlDownHold
{
get => bitsbyte[2];
set => bitsbyte[2] = value;
}
public bool IsOperatingAnotherEntity
{
get => bitsbyte[3];
set => bitsbyte[3] = value;
}
public bool ControlUseTile
{
get => bitsbyte[4];
set => bitsbyte[4] = value;
}
public bool HasNetCameraTarget
{
get => bitsbyte[5];
set => bitsbyte[5] = value;
}
public bool LastItemUseAttemptSuccess
{
get => bitsbyte[6];
set => bitsbyte[6] = value;
}
/// <summary>
/// Constructs a new instance of MiscDataSet3 with the given backing BitsByte
/// </summary>