Exemple #1
0
        void Handle_LongClick(object sender, View.LongClickEventArgs e)
        {
            int num = (int)((TextView)sender).Tag;

            var sendTypes = allTypes.attackTypes;

            if (SendData.sendAttackType.Count > 0)
            {
                SendData.sendAttackType[0] = sendTypes[num];
            }
            else
            {
                SendData.sendAttackType.Add(sendTypes[num]);
            }

            owner.LongClick();
        }