Skip to content
Contribute

void Unit::SetFood(int)

SetFood · Unit

Family: Unit

void Unit::SetFood(int)

Stores the supplied food value on a resolved Unit and dispatches a value-dependent virtual state update.

Return type: void

The member is called on an object. Its receiver is not repeated among this signature’s arguments.

Position Type
1 int

Keep the notes and limitations when reusing this description. Do not infer undocumented parameter meanings, units or effects.

Suggest a better description

Write how you would explain this entry. Your proposal will be held in a private inbox for review.

0 / 4000

Proposals are not published automatically. Do not include personal information in your description.