Renamed SyncAttribute to VerifySyncAttribute
This commit is contained in:
committed by
Gustas Kažukauskas
parent
ec75dcd9e9
commit
d4fd66adf9
@@ -82,25 +82,25 @@ namespace OpenRA.Mods.Common.Traits
|
||||
readonly DeveloperModeInfo info;
|
||||
public bool Enabled { get; private set; }
|
||||
|
||||
[Sync]
|
||||
[VerifySync]
|
||||
bool fastCharge;
|
||||
|
||||
[Sync]
|
||||
[VerifySync]
|
||||
bool allTech;
|
||||
|
||||
[Sync]
|
||||
[VerifySync]
|
||||
bool fastBuild;
|
||||
|
||||
[Sync]
|
||||
[VerifySync]
|
||||
bool disableShroud;
|
||||
|
||||
[Sync]
|
||||
[VerifySync]
|
||||
bool pathDebug;
|
||||
|
||||
[Sync]
|
||||
[VerifySync]
|
||||
bool unlimitedPower;
|
||||
|
||||
[Sync]
|
||||
[VerifySync]
|
||||
bool buildAnywhere;
|
||||
|
||||
public bool FastCharge => Enabled && fastCharge;
|
||||
|
||||
@@ -82,7 +82,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
Player[] enemies;
|
||||
Player[] allies;
|
||||
|
||||
[Sync]
|
||||
[VerifySync]
|
||||
public int ObjectivesHash
|
||||
{
|
||||
get
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
|
||||
public class PlayerExperience : ISync
|
||||
{
|
||||
[Sync]
|
||||
[VerifySync]
|
||||
public int Experience { get; private set; }
|
||||
|
||||
public void GiveExperience(int num)
|
||||
|
||||
@@ -95,13 +95,13 @@ namespace OpenRA.Mods.Common.Traits
|
||||
lastNotificationTime = -Info.InsufficientFundsNotificationInterval;
|
||||
}
|
||||
|
||||
[Sync]
|
||||
[VerifySync]
|
||||
public int Cash;
|
||||
|
||||
[Sync]
|
||||
[VerifySync]
|
||||
public int Resources;
|
||||
|
||||
[Sync]
|
||||
[VerifySync]
|
||||
public int ResourceCapacity;
|
||||
|
||||
public int Earned;
|
||||
|
||||
@@ -153,12 +153,12 @@ namespace OpenRA.Mods.Common.Traits
|
||||
|
||||
public Actor Actor { get; }
|
||||
|
||||
[Sync]
|
||||
[VerifySync]
|
||||
public bool Enabled { get; protected set; }
|
||||
|
||||
public string Faction { get; private set; }
|
||||
|
||||
[Sync]
|
||||
[VerifySync]
|
||||
public bool IsValidFaction { get; private set; }
|
||||
|
||||
public ProductionQueue(ActorInitializer init, ProductionQueueInfo info)
|
||||
|
||||
@@ -55,7 +55,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
|
||||
readonly StrategicVictoryConditionsInfo info;
|
||||
|
||||
[Sync]
|
||||
[VerifySync]
|
||||
public int TicksLeft;
|
||||
|
||||
readonly Player player;
|
||||
|
||||
Reference in New Issue
Block a user