public void UpdateGuildWarPreliminaryInfo(GC_RET_PRELIMINARY_WARINFO pak) { //个人信息 m_GuildWarScoreLable.text = pak.MyGuildScore.ToString(); m_GuildWarKillerNumLable.text = pak.MyKillNum.ToString(); m_GuildWarTimesLable.text = String.Format("{0}/10", 10 - pak.MyRemainTimes); }
public uint Execute(PacketDistributed ipacket) { GC_RET_PRELIMINARY_WARINFO packet = (GC_RET_PRELIMINARY_WARINFO )ipacket; if (null == packet) { return((uint)PACKET_EXE.PACKET_EXE_ERROR); } //enter your logic // if (GuildWarInfoLogic.Instance()) // { // GuildWarInfoLogic.Instance().UpdateGuildWarPreliminaryInfo(packet); // } return((uint)PACKET_EXE.PACKET_EXE_CONTINUE); }