AvatarAssets.java 1.93 KB
package com.bitstrips.imoji.abv3.model;

import com.bitstrips.imoji.abv3.AvatarBuilderGender;
import com.bitstrips.imoji.abv3.AvatarBuilderStyle;
import com.google.gson.annotations.SerializedName;
import java.util.Map;

public class AvatarAssets
{
  @SerializedName("defaults")
  public AvatarDefaults mDefaults;
  @SerializedName("outfits")
  public AvatarOutfits mOutfits;
  @SerializedName("traits")
  public AvatarTraits mTraits;
  
  public Map<String, Integer> getDefaults(AvatarBuilderGender paramAvatarBuilderGender, AvatarBuilderStyle paramAvatarBuilderStyle)
  {
    if (paramAvatarBuilderGender == AvatarBuilderGender.GENDER_FEMALE)
    {
      paramAvatarBuilderGender = this.mDefaults.mFemale;
      if (paramAvatarBuilderStyle != AvatarBuilderStyle.STYLE_BITMOJI) {
        break label74;
      }
      paramAvatarBuilderGender = paramAvatarBuilderGender.mBitmoji;
    }
    for (;;)
    {
      return paramAvatarBuilderGender.mOptionIds;
      if (paramAvatarBuilderGender == AvatarBuilderGender.GENDER_MALE)
      {
        paramAvatarBuilderGender = this.mDefaults.mMale;
        break;
      }
      throw new IllegalArgumentException("Bad gender: " + paramAvatarBuilderGender);
      label74:
      if (paramAvatarBuilderStyle == AvatarBuilderStyle.STYLE_CM)
      {
        paramAvatarBuilderGender = paramAvatarBuilderGender.mCM;
      }
      else
      {
        if (paramAvatarBuilderStyle != AvatarBuilderStyle.STYLE_BITSTRIPS) {
          break label104;
        }
        paramAvatarBuilderGender = paramAvatarBuilderGender.mBitstrips;
      }
    }
    label104:
    throw new IllegalArgumentException("Bad style: " + paramAvatarBuilderStyle);
  }
  
  public void setTraits(AvatarTraits paramAvatarTraits)
  {
    this.mTraits = paramAvatarTraits;
  }
}


/* Location:              /home/merong/decompile/hackery-dex2jar.jar!/com/bitstrips/imoji/abv3/model/AvatarAssets.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       0.7.1
 */