|
CUser* pLeader = g_UserMng.GetUserByPlayerID( uLeaderid );
/ A1 }6 k; O0 ]5 y
$ a( Z$ C/ v0 O if( IsValidObj( pLeader ) )! N7 }! f9 ~" [, q9 ^ i1 t/ O
{/ A: A3 P, B |; _! f
if( uMember > 0 )
$ M" P5 I4 k3 W+ v+ l+ U( L6 E' B o% j { @+ _5 L6 H/ s& u$ R
6 ~* q; f, {; b) i! u- ?0 S1 U/ B& X1 b7 q$ B O
# n0 j' C0 X" M9 k, X$ E! b! T替换为% R3 b8 j( v# K. D0 X
if (uMember == 0)
% P& Q2 P- Y, L4 G* X; P {
+ h) b5 u% Y- D2 T$ x //没找到名字,将szMemberName当id使用' u+ k/ H b" h$ K y- h B
u_long uId = (u_long)atoi(szMemberName);
, A5 O4 ~ x, {4 K; i1 w: p if (uId > 0)2 M( `4 c( |( D1 M0 O7 m
{& K7 \8 v& r4 T2 O; S
PlayerData* pData = CPlayerDataCenter::GetInstance()->GetPlayerData(uId);
" |7 J. X( T! C" Q3 T if (pData)
, u5 @- v, y1 s {
7 C5 o+ V! c4 z& u- i# v5 i uMember = uId;& m/ e& R9 e! ~6 l4 Q7 H
strcpy(szMemberName,pData->szPlayer);
8 _, O3 \9 K) ]% n+ u }' \: c* v& @/ O; [- g4 N1 g
}9 y8 D* I' Z( G
4 B7 L/ Q1 ?- N" A3 q }( z. S2 _3 m1 a+ ]: a0 m5 h
/////////////////////////////////////////////////////////////////////////// l9 [& V U% o1 ]4 s3 o
CUser* pLeader = g_UserMng.GetUserByPlayerID( uLeaderid ); 9 O# h& c4 D5 m" r4 h* U
8 {! @; j! H7 ?' \9 A8 X
if( IsValidObj( pLeader ) )
1 f* s, Z8 c$ ]! F) E0 ^3 F {9 V/ }/ Y: W( E; Q5 }& P
if( uMember > 0 )) v4 X7 B' Q6 `1 _# O
{# b" j, @7 C c/ B7 x
if (pLeader->m_idPlayer == uMember)7 g& K7 l. [5 F3 X
{
, k6 k3 L+ j$ g0 X, M; @ return;
5 I( p+ a3 Q6 q }! f9 V* Z9 J/ E j* O/ ?( y7 L( R% B
# N: P$ Q7 g' k; |7 x7 e; w% D |
|