Skip to content

SkinEmblem

Class Documentation

Edit documentation

An emblem drawn on a skin's loading-screen card. Only the first entry of SkinCharacterDataProperties.mEmblems is used; the others are ignored.

The card shows the emblem only when the client setting DisplayTencentEmblems is 1, or when an internal flag that is not yet identified is set. Otherwise every emblem slot on the card stays hidden.

The loading-screen layout defines one placeholder element per anchor value. The client shows the element for mLoadingScreenAnchor, gives it the texture mEmblemData.mImagePath, and resizes it inside the element's own rectangle:

width  = rectangle width  * mLoadingScreenScale * 2.56
height = rectangle height * mLoadingScreenScale * 1.28

mLoadingScreenScale also comes from the linked EmblemData. If the emblem data has no texture, no emblem is shown.

Properties

mEmblemData

Link<EmblemData> = "0x0"
Edit documentation

The EmblemData that supplies the emblem's texture (mImagePath) and size factor (mLoadingScreenScale). Shipped size factors range from 0.4 to 0.7.

mLoadingScreenAnchor

U32 = 5
Edit documentation

Which placeholder element of the card shows the emblem, and where the emblem sits inside that element's rectangle:

Value Emblem position in the rectangle
0 top-left corner
1 top-right corner
2 bottom-left corner
3 bottom-right corner
4 top edge, centered horizontally
5 bottom edge, centered horizontally

Any other value leaves the element's rectangle unchanged, so the emblem fills it.

Referenced by 1 class · 1 property