public string GetPrestigeNameByPoint(uint nPoint) { string str = ""; str = SystemTips.GetTipsContent("SocialPre" + nPoint.ToString()); return(str); }
private CItemInfo CreateNumericalItemInfo(ItemNumerical_Type numType) { string strPic = ""; string strName = ""; switch (numType) { case ItemNumerical_Type.Money: strPic = GOLDTICKET_SPRITE_NAME; strName = SystemTips.GetTipsContent("Goods_Gold"); break; case ItemNumerical_Type.MCoin: strPic = MCOINTICKET_SPRITE_NAME; strName = SystemTips.GetTipsContent("Goods_Mcoin"); break; case ItemNumerical_Type.MBCoin: strPic = MBINDTICKET_SPRITE_NAME; strName = SystemTips.GetTipsContent("Goods_MbindCoin"); break; case ItemNumerical_Type.EXP: strPic = EXP_SPRITE_NAME; strName = SystemTips.GetTipsContent("Quest_Exp"); break; case ItemNumerical_Type.Honor: strPic = HONOR_SPRITE_NAME; strName = SystemTips.GetTipsContent("Quest_Honor"); break; case ItemNumerical_Type.Contribution: strPic = CONTRIBUTION_SPRITE_NAME; strName = SystemTips.GetTipsContent("DanceGroup_ShopContribution"); break; case ItemNumerical_Type.VipValue: strPic = VIPVALUE_SPRITE_NAME; strName = SystemTips.GetTipsContent("Quest_VipValue"); break; case ItemNumerical_Type.Intimacy: strPic = INTIMACY_SPRITE_NAME; strName = SystemTips.GetTipsContent("Quest_Intimacy"); break; default: return(null); } CItemInfo itemInfo = new CItemInfo(); itemInfo.m_strIcon = strPic; itemInfo.m_strName = strName; itemInfo.m_anType[0] = (byte)ItemClass_Type.ItemClassType_Numerical; itemInfo.m_anType[1] = (byte)numType; return(itemInfo); }
public string GetTitleNameByID(uint nID) { string str = ""; str = SystemTips.GetTipsContent("Title" + (nID + 1).ToString()); return(str); }