public uint Execute(PacketDistributed ipacket) { GC_RET_HUASHAN_PKINFO packet = (GC_RET_HUASHAN_PKINFO)ipacket; if (null == packet) { return((uint)PACKET_EXE.PACKET_EXE_ERROR); } HuaShanPVPData.ShowHuaShanPkInfoList(packet); return((uint)PACKET_EXE.PACKET_EXE_CONTINUE); }
public static void ShowWuLinPkInfoList(GC_RET_HUASHAN_PKINFO msg) { WuLinPKInfoList.Clear(); Rounder = msg.Rounder; // for (int i = 0; i < msg.fristnameCount; i++) { WuLinPKInfoList.Add(new MemberPKInfo( msg.GetFristname(i), msg.GetSecondname(i), msg.GetWinnername(i))); } // .... if (null != ActivityController.Instance() && ActivityController.Instance().IsShowWuLinTab()) { if (null != ActivityController.Instance()) { ActivityController.Instance().ChangeToWuLinShowPKInfo(); } if (null != delegateShowPkInfo) { delegateShowPkInfo(); } } }