Home › Native functions › Diplomacy

Engine internals. No scripting access today. Listed for contributors and for understanding the game; using it needs a change to the game library.

Diplomacy

Function Signature (Linux) Symbol Current From Lua Notes
Deal::Instance::RemoveExpiredItems void Diplomacy::Deal::Instance::RemoveExpiredItems(Diplomacy::Deal::Instance* this) 0x57e110 0x57f3f0 Dev CE (experimental): Deal.RemoveExpiredItems signal, writes
Deal::Item::GreatWork::Enact ★ void Diplomacy::Deal::Item::GreatWork::Enact(Diplomacy::Deal::Item::GreatWork* this, uint dealId) 0x584b10 0x585f00 only indirectly analysed
Deal::Item::GreatWork::PostEnact ★ void Diplomacy::Deal::Item::GreatWork::PostEnact(Diplomacy::Deal::Item::GreatWork* this, uint dealId) 0x585460 0x586860 no analysed
Deal::Item::GreatWork::SetGreatWorkIndex void Diplomacy::Deal::Item::GreatWork::SetGreatWorkIndex(Diplomacy::Deal::Item::GreatWork* this, GreatWorkListIndex iIndex) 0x585520 0x588a40 no writes
Deal::Manager::RemoveNotifications void Diplomacy::Deal::Manager::RemoveNotifications(PlayerTypes eFromPlayer, PlayerTypes eToPlayer) 0x58ad30 0x58be80 no writes

Notes (★)

Diplomacy::Deal::Item::GreatWork::Enact

Executes a great-work trade item: takes the work out of the giver's city and gives it to the receiver.

Diplomacy::Deal::Item::GreatWork::PostEnact

Retries placing a great work that Enact could not place.