using Content.Server.Interfaces.Chat; using Robust.Shared.IoC; using Robust.Shared.Localization; namespace Content.Server.Mobs.Roles.Traitor { public class TraitorRole : Role { public TraitorRole(Mind mind) : base(mind) { } public override string Name => "Syndicate Agent"; public override bool Antagonist => true; public void GreetTraitor(string[] codewords) { var chatMgr = IoCManager.Resolve(); chatMgr.DispatchServerMessage(Mind.Session, Loc.GetString("Hello Agent!")); chatMgr.DispatchServerMessage(Mind.Session, Loc.GetString("Your codewords are: {0}", string.Join(", ",codewords))); } } }