This code extracts the skill ID from a 32-bit integer value (85196900 in this case) by shifting the value 16 bits to the right and then performing a bitwise AND operation with the hexadecimal value 0xffff (which is equivalent to the binary value 1111111111111111). The resulting value is the skill ID, which is a 16-bit integer.

nSkillID = 85196900 16 & 0xffff;

原文地址: https://www.cveoy.top/t/topic/JHY 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录