void Settlement::SetPlayer(int)
Questa scheda è disponibile in inglese e in spagnolo: qui sotto trovi il testo inglese.
SetPlayer · Settlement
Firma esatta
Sezione intitolata “Firma esatta”void Settlement::SetPlayer(int)Descrizione
Sezione intitolata “Descrizione”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.
Note d’uso
Sezione intitolata “Note d’uso”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.
Parametri e tipo restituito
Sezione intitolata “Parametri e tipo restituito”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 |
Consultare e condividere
Sezione intitolata “Consultare e condividere”Conserva le note e i limiti quando riutilizzi questa descrizione. Non dedurre significati di parametri, unità o effetti non documentati.