feat(bridge): protocol 7 — a raid frame that names who lives there #7

Merged
whitlocktech merged 3 commits from feat/phase-10-engagement into edge 2026-09-23 13:43:32 -05:00
Showing only changes of commit 272e9e0f65 - Show all commits

View File

@@ -1975,6 +1975,23 @@ namespace Oxide.Plugins
Dictionary<string, object> frame = ClanFrame("clan.disbanded", clan);
PutPlayer(frame, "steamId", "name", steamId);
// Protocol 7: who was in it. The website tells a disbanded clan's members, and by the
// time it reads this frame the next board may already have removed the roster it would
// otherwise ask — the board is re-sent seconds after this, and after an outage it is
// applied before the backlog. The game has deleted the clan from its database by now,
// and walked `Members` to drop each one's membership, but it never empties the list
// itself — so it is still whole here, bounded by the clan's own member limit.
if (clan.Members != null)
{
List<object> members = new List<object>();
foreach (ClanMember member in clan.Members)
members.Add(member.SteamId.ToString());
frame["members"] = members;
}
EmitFrame(frame);
ScheduleClansBoard();