Proper name for ranking mask.

This commit is contained in:
MobiusDevelopment
2019-12-31 12:52:15 +00:00
parent ca79eaa7dc
commit 9e3fb16374
4 changed files with 8 additions and 8 deletions

View File

@@ -51,7 +51,7 @@ public enum UserInfoType implements IUpdateTypeComponent
ATT_SPIRITS(0x17, 26), ATT_SPIRITS(0x17, 26),
UNKNOWN_196(0x18, 6); RANKING(0x18, 6);
/** Int mask. */ /** Int mask. */
private final int _mask; private final int _mask;

View File

@@ -408,10 +408,10 @@ public class UserInfo extends AbstractMaskPacket<UserInfoType>
packet.writeD(0x00); packet.writeD(0x00);
} }
if (containsMask(UserInfoType.UNKNOWN_196)) // 196 if (containsMask(UserInfoType.RANKING)) // 196
{ {
packet.writeH(6); // 196 packet.writeH(6);
packet.writeD(0x00); // 196 packet.writeD(0x00);
} }
if (isProtocol235) if (isProtocol235)

View File

@@ -51,7 +51,7 @@ public enum UserInfoType implements IUpdateTypeComponent
ATT_SPIRITS(0x17, 26), ATT_SPIRITS(0x17, 26),
UNKNOWN_196(0x18, 6); RANKING(0x18, 6);
/** Int mask. */ /** Int mask. */
private final int _mask; private final int _mask;

View File

@@ -421,10 +421,10 @@ public class UserInfo extends AbstractMaskPacket<UserInfoType>
packet.writeD(_player.getActiveElementalSpiritType()); packet.writeD(_player.getActiveElementalSpiritType());
} }
if (containsMask(UserInfoType.UNKNOWN_196)) // 196 if (containsMask(UserInfoType.RANKING)) // 196
{ {
packet.writeH(6); // 196 packet.writeH(6);
packet.writeD(0x00); // 196 packet.writeD(0x00);
} }
if (isProtocol235) if (isProtocol235)