public static uint GetRedIDVersionByServerData(enRedID redID, out bool isHaveData) { uint result = 0u; isHaveData = false; ResRedDotInfo resRedDotInfo = new ResRedDotInfo(); if (GameDataMgr.redDotInfoDict.TryGetValue((uint)redID, ref resRedDotInfo)) { result = resRedDotInfo.dwVerNum; isHaveData = true; } return(result); }
public static uint GetRedIDVersionByServerData(enRedID redID, out bool isHaveData) { uint dwVerNum = 0; isHaveData = false; ResRedDotInfo info = new ResRedDotInfo(); if (GameDataMgr.redDotInfoDict.TryGetValue((uint)redID, out info)) { dwVerNum = info.dwVerNum; isHaveData = true; } return(dwVerNum); }