|
|
@ -178,7 +178,7 @@ ENetError pfGameScoreMgr::CreateScore( |
|
|
|
pfGameScore& score |
|
|
|
pfGameScore& score |
|
|
|
) { |
|
|
|
) { |
|
|
|
CreateScoreOp param; |
|
|
|
CreateScoreOp param; |
|
|
|
MemZero(¶m, sizeof(CreateScoreOp)); |
|
|
|
memset(¶m, 0, sizeof(CreateScoreOp)); |
|
|
|
param.score = &score; |
|
|
|
param.score = &score; |
|
|
|
|
|
|
|
|
|
|
|
NetCliAuthScoreCreate( |
|
|
|
NetCliAuthScoreCreate( |
|
|
@ -205,7 +205,7 @@ ENetError pfGameScoreMgr::DeleteScore( |
|
|
|
unsigned scoreId |
|
|
|
unsigned scoreId |
|
|
|
) { |
|
|
|
) { |
|
|
|
NetWaitOp param; |
|
|
|
NetWaitOp param; |
|
|
|
MemZero(¶m, sizeof(NetWaitOp)); |
|
|
|
memset(¶m, 0, sizeof(NetWaitOp)); |
|
|
|
|
|
|
|
|
|
|
|
NetCliAuthScoreDelete( |
|
|
|
NetCliAuthScoreDelete( |
|
|
|
scoreId, |
|
|
|
scoreId, |
|
|
@ -277,7 +277,7 @@ ENetError pfGameScoreMgr::GetScoresIncRef( |
|
|
|
int& outScoreListCount |
|
|
|
int& outScoreListCount |
|
|
|
) { |
|
|
|
) { |
|
|
|
GetScoresOp param; |
|
|
|
GetScoresOp param; |
|
|
|
MemZero(¶m, sizeof(GetScoresOp)); |
|
|
|
memset(¶m, 0, sizeof(GetScoresOp)); |
|
|
|
param.scores = &outScoreList; |
|
|
|
param.scores = &outScoreList; |
|
|
|
param.scoreCount = &outScoreListCount; |
|
|
|
param.scoreCount = &outScoreListCount; |
|
|
|
|
|
|
|
|
|
|
@ -304,7 +304,7 @@ ENetError pfGameScoreMgr::AddPoints( |
|
|
|
int numPoints |
|
|
|
int numPoints |
|
|
|
) { |
|
|
|
) { |
|
|
|
NetWaitOp param; |
|
|
|
NetWaitOp param; |
|
|
|
MemZero(¶m, sizeof(NetWaitOp)); |
|
|
|
memset(¶m, 0, sizeof(NetWaitOp)); |
|
|
|
|
|
|
|
|
|
|
|
NetCliAuthScoreAddPoints( |
|
|
|
NetCliAuthScoreAddPoints( |
|
|
|
scoreId, |
|
|
|
scoreId, |
|
|
@ -336,7 +336,7 @@ ENetError pfGameScoreMgr::TransferPoints( |
|
|
|
int numPoints |
|
|
|
int numPoints |
|
|
|
) { |
|
|
|
) { |
|
|
|
NetWaitOp param; |
|
|
|
NetWaitOp param; |
|
|
|
MemZero(¶m, sizeof(NetWaitOp)); |
|
|
|
memset(¶m, 0, sizeof(NetWaitOp)); |
|
|
|
|
|
|
|
|
|
|
|
NetCliAuthScoreTransferPoints( |
|
|
|
NetCliAuthScoreTransferPoints( |
|
|
|
srcScoreId, |
|
|
|
srcScoreId, |
|
|
@ -371,7 +371,7 @@ ENetError pfGameScoreMgr::SetPoints( |
|
|
|
int numPoints |
|
|
|
int numPoints |
|
|
|
) { |
|
|
|
) { |
|
|
|
NetWaitOp param; |
|
|
|
NetWaitOp param; |
|
|
|
MemZero(¶m, sizeof(NetWaitOp)); |
|
|
|
memset(¶m, 0, sizeof(NetWaitOp)); |
|
|
|
|
|
|
|
|
|
|
|
NetCliAuthScoreSetPoints( |
|
|
|
NetCliAuthScoreSetPoints( |
|
|
|
scoreId, |
|
|
|
scoreId, |
|
|
@ -448,7 +448,7 @@ ENetError pfGameScoreMgr::GetRankList( |
|
|
|
int& outRankListCount |
|
|
|
int& outRankListCount |
|
|
|
) { |
|
|
|
) { |
|
|
|
GetRanksOp param; |
|
|
|
GetRanksOp param; |
|
|
|
MemZero(¶m, sizeof(GetRanksOp)); |
|
|
|
memset(¶m, 0, sizeof(GetRanksOp)); |
|
|
|
param.ranks = &outRankList; |
|
|
|
param.ranks = &outRankList; |
|
|
|
param.rankCount = &outRankListCount; |
|
|
|
param.rankCount = &outRankListCount; |
|
|
|
|
|
|
|
|
|
|
|