Exemplo n.º 1
0
        public bool LovAction(int type, int voiceID)
        {
            switch (type)
            {
            case 0:
            {
                TouchLovInfo touchInfo2 = new TouchLovInfo(voiceID, backTouch: false);
                return(_mem_data.SumLov(ref touchInfo2));
            }

            case 1:
            {
                TouchLovInfo touchInfo = new TouchLovInfo(voiceID, backTouch: true);
                return(_mem_data.SumLov(ref touchInfo));
            }

            default:
                return(false);
            }
        }