Make more fields VV-writeable (#21754)
This commit is contained in:
@@ -5,14 +5,14 @@ public abstract partial class BatteryAmmoProviderComponent : AmmoProviderCompone
|
||||
/// <summary>
|
||||
/// How much battery it costs to fire once.
|
||||
/// </summary>
|
||||
[DataField("fireCost")]
|
||||
[DataField("fireCost"), ViewVariables(VVAccess.ReadWrite)]
|
||||
public float FireCost = 100;
|
||||
|
||||
// Batteries aren't predicted which means we need to track the battery and manually count it ourselves woo!
|
||||
|
||||
[ViewVariables]
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
public int Shots;
|
||||
|
||||
[ViewVariables]
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
public int Capacity;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user