NLDClient-yudde/ProjectNLD/Assets/ThirdParty/AntiCheatToolkit/Runtime/Scripts/Common/ACTkByte4.cs

33 lines
580 B
C#
Raw Normal View History

2023-10-19 15:00:19 +08:00
#region copyright
// ------------------------------------------------------
// Copyright (C) Dmitriy Yukhanov [https://codestage.net]
// ------------------------------------------------------
#endregion
namespace CodeStage.AntiCheat.Common
{
using System;
[Serializable]
internal struct ACTkByte4
{
public byte b1;
public byte b2;
public byte b3;
public byte b4;
public void Shuffle()
{
var buffer = b2;
b2 = b3;
b3 = buffer;
}
public void UnShuffle()
{
var buffer = b3;
b3 = b2;
b2 = buffer;
}
}
}