背景和头像缺失
This commit is contained in:
@@ -1792,7 +1792,7 @@ void SSSGameScene::onInviteButtonClick(Ref* pSender)
|
||||
std::string strRoomID = StringUtils::format("房间号(%d), ", m_PrivateRoomInfo.dwRoomNum);
|
||||
std::string strShareRule = strRoomID + m_strGameRuleInfo + StringUtils::format("人数: %d/%d", getCurPlayerCount(), SSS_GAME_PLAYER);
|
||||
|
||||
MissionWeiXin::Instance().shareUrlWeiXin(strUrlInfo, utility::a_u8(m_strGameTitle), utility::a_u8(strShareRule));
|
||||
MissionWeiXin::Instance().shareUrlWeiXin(strUrlInfo, m_strGameTitle, strShareRule);
|
||||
|
||||
//SelectShareScene::Instance().shareRoomInfo(strUrlInfo, strUTFGameTitle, strShareRule, 0);
|
||||
}
|
||||
|
||||
@@ -337,7 +337,7 @@ void DDZGameScene::initScene()
|
||||
std::string strUrl = GlobalJosn::getInstance()->getShareInfoByKind(SH_KIND_WEIXIN_URL);
|
||||
std::string strUrlAll = StringUtils::format("%s?param=%d", strUrl.c_str(), m_PrivateRoomInfo.dwRoomNum);
|
||||
|
||||
MissionWeiXin::Instance().shareUrlWeiXin(strUrlAll, utility::a_u8("斗地主"), strText);
|
||||
MissionWeiXin::Instance().shareUrlWeiXin(strUrlAll, "斗地主", strText);
|
||||
//SelectShareScene::Instance().shareRoomInfo(strUrlAll, utility::a_u8("斗地主"), strText, 0);
|
||||
});
|
||||
|
||||
|
||||
@@ -607,7 +607,7 @@ void DZGameScene::initScene()
|
||||
std::string strUrl = GlobalJosn::getInstance()->getShareInfoByKind(SH_KIND_WEIXIN_URL);
|
||||
std::string strUrlInfo = StringUtils::format("%s?param=%d", strUrl.c_str(), m_PrivateRoomInfo.dwRoomNum);
|
||||
|
||||
MissionWeiXin::Instance().shareUrlWeiXin(strUrlInfo, utility::a_u8("万年打炸"), utility::a_u8(strText));
|
||||
MissionWeiXin::Instance().shareUrlWeiXin(strUrlInfo, "万年打炸", strText);
|
||||
//SelectShareScene::Instance().shareRoomInfo(strUrlInfo, utility::a_u8("打炸"), strText, 0);
|
||||
});
|
||||
|
||||
|
||||
@@ -367,7 +367,7 @@ void NNGameScene::initScene()
|
||||
std::string strRoomID = StringUtils::format("房间号(%d), ", m_PrivateRoomInfo.dwRoomNum);
|
||||
std::string strShareRule = strRoomID + m_strGameRuleInfo + StringUtils::format("人数: %d/%d", getCurPlayerCount(), NN_GAME_PLAYER);
|
||||
|
||||
MissionWeiXin::Instance().shareUrlWeiXin(strUrlInfo, utility::a_u8(m_strGameTitle), utility::a_u8(strShareRule));
|
||||
MissionWeiXin::Instance().shareUrlWeiXin(strUrlInfo, m_strGameTitle, strShareRule);
|
||||
//SelectShareScene::Instance().shareRoomInfo(strUrlInfo, utility::a_u8(m_strGameTitle), strShareRule, 0);
|
||||
|
||||
});
|
||||
|
||||
@@ -358,7 +358,7 @@ void PDKGameScene::initScene()
|
||||
bool bGameRuleIdex = ((m_PrivateRoomInfo.bGameRuleIdex & ePDKRuleEnum_HandCardCount) > 0);
|
||||
uint8 cbCardCount = bGameRuleIdex ? PDK_MAX_COUNT : (PDK_MAX_COUNT - 1);
|
||||
|
||||
std::string strUTFGameTitle = utility::a_u8("跑得快");
|
||||
std::string strGameTitle = "跑得快";
|
||||
|
||||
std::string strUrl = GlobalJosn::getInstance()->getShareInfoByKind(SH_KIND_WEIXIN_URL);
|
||||
std::string strUrlInfo = StringUtils::format("%s?param=%d", strUrl.c_str(), m_PrivateRoomInfo.dwRoomNum);
|
||||
@@ -367,7 +367,7 @@ void PDKGameScene::initScene()
|
||||
std::string strShareRule = StringUtils::format("房间号:[%u], %d 局,%d张牌,%s。", m_PrivateRoomInfo.dwRoomNum,
|
||||
m_PrivateRoomInfo.dwPlayTotal, cbCardCount, strGameRuleInfo.c_str());
|
||||
|
||||
MissionWeiXin::Instance().shareUrlWeiXin(strUrlInfo, strUTFGameTitle, strShareRule);
|
||||
MissionWeiXin::Instance().shareUrlWeiXin(strUrlInfo, strGameTitle, strShareRule);
|
||||
//SelectShareScene::Instance().shareRoomInfo(strUrlInfo, strUTFGameTitle, strShareRule, 0);
|
||||
});
|
||||
|
||||
|
||||
@@ -201,7 +201,7 @@ namespace WNMJ_SPACE{
|
||||
|
||||
// 玩家信息
|
||||
private:
|
||||
long m_lBaseScore; // 基础积分
|
||||
int m_lBaseScore; // 基础积分
|
||||
BYTE m_cbGameStatus; // 游戏状态
|
||||
BYTE m_cbSurplusCard; // 剩余牌数量
|
||||
BYTE m_cbHuaAniCout; // 胡牌动画播放完成玩家
|
||||
|
||||
@@ -1253,7 +1253,7 @@ void ZJHGameScene::onInviteButtonClick(Ref* pSender)
|
||||
std::string strText = StringUtils::format("房间号:[%u] %d 局, %s.", m_PrivateRoomInfo.dwRoomNum, m_PrivateRoomInfo.dwPlayTotal, m_strGameRuleInfo.c_str());
|
||||
std::string strFriendUrl = GlobalJosn::getInstance()->getShareInfoByKind(SH_KIND_FRIEND_RUL);
|
||||
std::string strUrl = StringUtils::format("%s?param=%d", strFriendUrl.c_str(), m_PrivateRoomInfo.dwRoomNum);
|
||||
MissionWeiXin::Instance().shareUrlWeiXin(strUrl, utility::a_u8("炸金花") , utility::a_u8(strText));
|
||||
MissionWeiXin::Instance().shareUrlWeiXin(strUrl, "炸金花", strText);
|
||||
|
||||
//SelectShareScene::Instance().shareRoomInfo(strUrl, utility::a_u8("炸金花"), strText, 0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user