This commit is contained in:
2026-06-11 12:05:12 +02:00
parent e7968a5753
commit e75452b145
4 changed files with 36 additions and 8 deletions

View File

@@ -36,6 +36,11 @@ namespace Marro.PacManUdon
data.Append(GetDirection(), ref index);
}
public void PadSyncedData(byte[] data, ref int index, NetworkEventType eventType)
{
index += 16;
}
public override bool WriteSyncedData(byte[] data, ref int index, NetworkEventType eventType)
{
SetPosition(data.ReadVector2(ref index));
@@ -43,5 +48,12 @@ namespace Marro.PacManUdon
return true;
}
public bool ConsumeSyncedData(byte[] data, ref int index, NetworkEventType eventType)
{
index += 16;
return true;
}
}
}