Ejemplo n.º 1
0
 public void OnClickMember()
 {
     if (MemberInfo.creatures == null)
     {
         C2G.GuildMemberDetail packet = new C2G.GuildMemberDetail();
         packet.player_idx = MemberInfo.account_idx;
         Network.GameServer.JsonAsync <C2G.GuildMemberDetail, C2G.GuildMemberDetailAck>(packet, OnGuildMemberDetail);
     }
     else
     {
         Popup.Instance.Show(ePopupMode.GuildMemberInfo, MemberInfo);
     }
 }
Ejemplo n.º 2
0
 void OnGuildMemberDetail(C2G.GuildMemberDetail packet, C2G.GuildMemberDetailAck ack)
 {
     MemberInfo.creatures = ack.creatures;
     MemberInfo.team_data = ack.team_data;
     Popup.Instance.Show(ePopupMode.GuildMemberInfo, MemberInfo);
 }