|
CUser* pLeader = g_UserMng.GetUserByPlayerID( uLeaderid );
' j7 g- Z% O( N$ c' V2 k i; W8 \& Z6 @4 H
if( IsValidObj( pLeader ) )+ Q! V- r7 N" {3 d% T% Y0 z3 Z
{* U( m' Y" }1 l
if( uMember > 0 )
( x6 C. n2 y9 g* D, u* l {
2 k0 x$ H" {' W+ {5 l. l y' @0 w7 P
6 k4 E1 O. H& ~# S: m) K$ s" e" }+ c9 L5 @% W' B9 C
替换为 P5 T, D' p b2 i0 i) n8 W* v+ Q
if (uMember == 0)
1 [9 }. N; |" T+ R$ L7 Q {7 T/ b& f0 e. ]9 r0 d' x; g
//没找到名字,将szMemberName当id使用' o' k( l* G' S& {5 I6 \
u_long uId = (u_long)atoi(szMemberName);. Z, H$ R6 v5 V9 I
if (uId > 0); F! }* {6 f1 R9 d% y9 y& K1 j3 @- u
{
* d' g! n) q% {3 I+ e PlayerData* pData = CPlayerDataCenter::GetInstance()->GetPlayerData(uId);
6 I( Z% g. u3 C. v$ |$ {( o- [1 j if (pData)/ `: J! A2 R) ?: M+ w
{
' w& ]) o, t0 d6 @4 O/ \1 o uMember = uId;: X0 y0 L3 m7 H. W! o! A+ Z
strcpy(szMemberName,pData->szPlayer);6 E, B1 ~$ R+ E7 @+ J- e a2 \
}8 k8 Z6 [! Q5 R B
}
" S) C% Q. Y( a( v2 v4 ~1 j * p: ] f1 @# }6 z
}2 K1 k8 d* D. `. s5 A
//////////////////////////////////////////////////////////////////////////; W* G9 z: |, e& ^5 n% m, L
CUser* pLeader = g_UserMng.GetUserByPlayerID( uLeaderid ); 7 P; c5 m5 T% T
+ c7 t; V x/ S
if( IsValidObj( pLeader ) )
+ m% q" P5 L" K* E {. y4 x* Y% G' }% V; [ |7 @$ P1 m
if( uMember > 0 )
% @( t8 N3 O: y: Y% J; e {
9 M4 X/ R7 a$ n if (pLeader->m_idPlayer == uMember)6 V' M+ P: N# `4 Y
{
, V& G/ E) S P. t: @7 e0 E return;
( I% e0 |3 n7 }- V, g }
0 t3 c) d4 I* \5 g; j: i. V, u
/ I. {3 C2 G, j' V( d- h% J+ p |
|