示例#1
0
 public void OnClickGuild()
 {
     m_ToggleSelected.value = true;
     C2G.GuildInfoMaster packet = new C2G.GuildInfoMaster();
     packet.guild_idx = GuildInfo.info.guild_idx;
     Network.GameServer.JsonAsync <C2G.GuildInfoMaster, C2G.GuildInfoMasterAck>(packet, OnGuildInfoDetail);
 }
示例#2
0
 void OnGuildInfoDetail(C2G.GuildInfoMaster packet, C2G.GuildInfoMasterAck ack)
 {
     GuildInfo.guild_master = ack.guild_master;
     if (OnClickDelegate != null)
     {
         OnClickDelegate(this);
     }
 }