refundCost
Call Signature
Section titled “Call Signature”refundCost(
writer,entity,reservation):void
Gives back what reserveCost held back under reservation, as a
cancelled action does, up to each resource’s maximum less what the
other reservations still hold. A predicted write, as changeResource.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
writer |
PredictedStep |
entity |
PredictedEntity |
reservation |
ReservationKey |
Returns
Section titled “Returns”void
Call Signature
Section titled “Call Signature”refundCost(
writer,entity,reservation):void
Gives back what reserveCost held back under reservation, as a
cancelled action does, up to each resource’s maximum less what the
other reservations still hold. A predicted write, as changeResource.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
writer |
EntityAuthority |
entity |
Entity |
reservation |
ReservationKey |
Returns
Section titled “Returns”void