Use struct to serialize vehicle data

This gonna reduce the tedious work needed to add a new sync, also beings a performance boost
Ped, projectile sync will be updated later
This commit is contained in:
Sardelka9515
2023-03-26 15:36:15 +08:00
parent 826e80c5d8
commit 4fbdd86566
24 changed files with 445 additions and 550 deletions

View File

@ -8,7 +8,7 @@ using System.Threading.Tasks;
namespace RageCoop.Core
{
public struct LVector2 : IEquatable<LVector2>
internal struct LVector2 : IEquatable<LVector2>
{
/// <summary>
/// Gets or sets the X component of the vector.