Пример #1
0
 private void CleanerGameMode_ValueChanged(object sender, CustomToggleOption.CustomToggleOptionEventArgs e)
 {
     Enabled = e.ToggleOption.Value;
     sync();
 }
        private void BattleRoyaleGameMode_ValueChanged(object sender, CustomToggleOption.CustomToggleOptionEventArgs e)
        {
            RandomStartLocation = e.ToggleOption.Value;

            RpcManager.SendRpc(BattleRoyale.BattleRoyalRpc, new byte[] { (byte)BattleRoyale.CustomRpcCalls.UpdateRandomStartLocation, Convert.ToByte(RandomStartLocation) });
        }