|
@@ -1543,6 +1543,7 @@ namespace CommonAI.Zone
|
|
|
public object Clone()
|
|
|
{
|
|
|
UnitActionData ret = new UnitActionData();
|
|
|
+ ret.ShowChargeTimeMS = this.ShowChargeTimeMS;
|
|
|
ret.TotalTimeMS = this.TotalTimeMS;
|
|
|
ret.ActionName = this.ActionName;
|
|
|
ret.ActionEffectFileName = this.ActionEffectFileName;
|
|
@@ -1585,6 +1586,7 @@ namespace CommonAI.Zone
|
|
|
public void WriteExternal(IOutputStream output)
|
|
|
{
|
|
|
output.PutS32(this.TotalTimeMS);
|
|
|
+ output.PutS32(this.ShowChargeTimeMS);
|
|
|
output.PutUTF(this.ActionName);
|
|
|
output.PutUTF(this.ActionEffectFileName);
|
|
|
output.PutBool(this.IsCycAction);
|
|
@@ -1625,6 +1627,7 @@ namespace CommonAI.Zone
|
|
|
public void ReadExternal(IInputStream input)
|
|
|
{
|
|
|
this.TotalTimeMS = input.GetS32();
|
|
|
+ this.ShowChargeTimeMS = input.GetS32();
|
|
|
this.ActionName = input.GetUTF();
|
|
|
this.ActionEffectFileName = input.GetUTF();
|
|
|
this.IsCycAction = input.GetBool();
|