Salta ai contenuti

void Settlement::SetPlayer(int)

Questa scheda è disponibile in inglese e in spagnolo: qui sotto trovi il testo inglese.

SetPlayer · Settlement

Famiglia: Settlement

void Settlement::SetPlayer(int)

Changes the settlement's owner. When the player differs from the current one, the stored gold moves to the new owner's statistics and every building of the settlement gets the new owner.

An object joining a settlement keeps its owner; only this change of the settlement's owner re-owns its buildings. The loop over the buildings was not checked instruction by instruction.

Tipo restituito: void

Il metodo si chiama su un oggetto. Il ricevente non viene ripetuto tra i parametri di questa firma.

Posizione Tipo
1 int

Conserva le note e i limiti quando riutilizzi questa descrizione. Non dedurre significati di parametri, unità o effetti non documentati.

Suggest a better description

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

Controller: José Luis de la Torre Reyes. Proposals are processed to review documentation improvements on the basis of legitimate interests. You can request access, correction, erasure or object by writing to seluedita@gmail.com. Opening this form uses a first-party security cookie for one hour. Submitting stores the proposal and an IP-derived security identifier in the private inbox; omitting your name does not make the submission technically anonymous. Privacy information · Cookies and browser storage.

0 / 4000

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