diplo_event
Handle miscellaneous Civilization V diplomatic actions not covered elsewhere, like coop-war offers, denounce requests, and working agreements. Read pending leader message; use event, player ID, data.
Instructions
Escape hatch for any other diplomatic action not covered above (accept/decline a coop-war offer,
respond to a denounce request, agree to work with someone, etc). event is a FromUIDiploEventTypes
name, with or without its FROM_UI_DIPLO_EVENT_ prefix -- see docs/NOTES.md for the list. Read a
pending leader_message in turn_digest first to know what's being asked and what data1/data2 should be.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data1 | No | ||
| data2 | No | ||
| event | Yes | ||
| player_id | Yes |