Beispiel #1
0
    public MyArMakeupJsonData(string mediaData, string makeupId, int makeupAlpha, int beautyAlpha, int hairMask, int beautyLv)
    {
        parameter = new cl_parameter
        {
            makeup_id    = makeupId,
            makeup_alpha = makeupAlpha,
            beauty_alpha = beautyAlpha,
            hair_mask    = hairMask,
        };

        extra = new cl_extra();

        media_info_list = new List <cl_listItem>
        {
            new cl_listItem
            {
                media_data  =  mediaData
            }
        };
    }
Beispiel #2
0
    public MyMakeupJsonData(string mediaData, string makeupId, int makeupAlpha, int beautyAlpha, int hairMask, int beautyLv)
    {
        parameter = new cl_parameter
        {
            makeupId       = makeupId,
            makeupAlpha    = makeupAlpha,
            beautyAlpha    = beautyAlpha,
            rsp_media_type = "base64",
            hairMask       = hairMask,
            beautyLevel    = beautyLv
        };

        extra = new cl_extra();

        media_info_list = new List <cl_listItem>
        {
            new cl_listItem
            {
                media_data = mediaData
            }
        };
    }