/*
* olds_captain_duel.inc - what a captain draft core offers so an add-on such as the Captain
* Knife Duel (olds.ro) can run between the choice of the captains and the first pick.
* The core (or a bridge plugin in front of one) registers the library "olds_captain".
* Copyright (C) 2026 daemon (olds.ro). GPL-3.0-or-later.
*/
#if defined _olds_captain_duel_included
#endinput
#endif
#define _olds_captain_duel_included
/**
* The two captains are known and the draft is about to begin. Called with ET_STOP: an
* add-on that returns PLUGIN_HANDLED holds the draft until it calls olds_cap_release_draft().
*/
forward olds_cap_captains_ready(captainA, captainB);
/* The given captain takes the first draft turn. */
native olds_cap_set_first_pick(captain);
/* The given captain's team plays this side: 1 = terrorists, 2 = counter-terrorists. */
native olds_cap_set_side(captain, team);
/* Lets a held draft begin. */
native olds_cap_release_draft();