Пример #1
0
 public override void Process() => Player?.Claim(SalemUtil.GetRole("Mayor"), true);
Пример #2
0
 private void Claim(object sender, EventArgs e) => _player.Claim(SalemUtil.GetRole(((ToolStripMenuItem)sender).Text));
Пример #3
0
 protected Role GetRole(int playerRoleIndex) => Bytes.Length > playerRoleIndex?SalemUtil.GetRole(Bytes[playerRoleIndex]) : null;