1
This commit is contained in:
parent
42bd7281fd
commit
6cc95f43f6
@ -163,9 +163,10 @@ void DBEngine::RefreshIdx()
|
||||
[] (a8::XParams& param, const f8::DataSet* data_set)
|
||||
{
|
||||
long long instance_idx = param.sender.GetInt64();
|
||||
const std::vector<std::string>& row = (*data_set)[0];
|
||||
long long friend_apply_idx = a8::XValue(row[0]);
|
||||
long long event_idx = a8::XValue(row[1]);
|
||||
const std::vector<std::string>& row0 = (*data_set)[0];
|
||||
const std::vector<std::string>& row1 = (*data_set)[1];
|
||||
long long friend_apply_idx = a8::XValue(row0[0]);
|
||||
long long event_idx = a8::XValue(row1[0]);
|
||||
DBEngine::Instance()->UpdateFriendApplyIdx(instance_idx, friend_apply_idx);
|
||||
DBEngine::Instance()->UpdateEventIdx(instance_idx, event_idx);
|
||||
};
|
||||
|
@ -48,6 +48,7 @@ void Player::Init()
|
||||
OnDailyReset();
|
||||
}
|
||||
RecalcRedPoint();
|
||||
RefreshFriendData();
|
||||
}
|
||||
|
||||
void Player::UnInit()
|
||||
@ -1120,3 +1121,8 @@ void Player::ClearApplyByTarget(const std::string& target_id)
|
||||
ClearApplyByIdx(idx);
|
||||
}
|
||||
}
|
||||
|
||||
void Player::RefreshFriendData()
|
||||
{
|
||||
|
||||
}
|
||||
|
@ -133,6 +133,7 @@ private:
|
||||
void RecalcRedPoint();
|
||||
void ClearApplyByIdx(long long idx);
|
||||
void ClearApplyByTarget(const std::string& target_id);
|
||||
void RefreshFriendData();
|
||||
|
||||
private:
|
||||
bool dirty_ = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user