AvatarAssets.java
1.93 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
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
*/