Getting this error when Building my Gunz solution, I added custom grades:
Spoiler:../CSCommon\Include\MMatchObject.h(48) : error C2146: syntax error : missing '}' before identifier 'MMUG_GOLDEN'
../CSCommon\Include\MMatchObject.h(48) : error C2440: 'initializing' : cannot convert from 'int' to 'MMatchUserGradeID'
Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)
../CSCommon\Include\MMatchObject.h(49) : error C2440: 'initializing' : cannot convert from 'int' to 'MMatchUserGradeID'
Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)
../CSCommon\Include\MMatchObject.h(50) : error C2440: 'initializing' : cannot convert from 'int' to 'MMatchUserGradeID'
Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)
../CSCommon\Include\MMatchObject.h(51) : error C2059: syntax error : '}'
../CSCommon\Include\MMatchObject.h(51) : error C2143: syntax error : missing ';' before '}'
../CSCommon\Include\MMatchObject.h(51) : error C2059: syntax error : '}'
My edited function:
-MMatchObject.h
Spoiler:enum MMatchUserGradeID
{
MMUG_FREE = 0, // ¹«·á °èÁ¤
MMUG_REGULAR = 1, // Á¤¾× À¯Àú
MMUG_STAR = 2, // ½ºÅ¸À¯Àú(°ÔÀÓ¯)
MMUG_CHAT_LIMITED = 5, //Mute
MMUG_VIP = 10, // VIP
MMUG_CRIMINAL = 100, // Àü°úÀÚ
MMUG_WARNING_1 = 101, // 1Â÷ °æ°í
MMUG_WARNING_2 = 102, // 2Â÷ °æ°í
MMUG_WARNING_3 = 103, // 3Â÷ °æ°í
MMUG_PENALTY = 105, // ±â°£ Á¤Áö
MMUG_EVENTMASTER = 252, // À̺¥Æ® ÁøÇàÀÚ
MMUG_BLOCKED = 253, // »ç¿ë Á¤Áö
MMUG_DEVELOPER = 254, // °³¹ßÀÚ
MMUG_ADMIN = 255 // °ü¸®ÀÚ
MMUG_GOLDEN = 6, // Golden VIP
MMUG_PLATINUM = 7, // Platinum VIP
MMUG_METALLIC = 8, // Metallic VIP
};


Reply With Quote


