/// <summary> /// 向服务器发送剧情播放完毕的网络包 /// </summary> private void SendPlayStoryOverPacket(int nClosedStoryID) { CG_PLAYSTORY_OVER packet = (CG_PLAYSTORY_OVER)PacketDistributed.CreatePacket(MessageID.PACKET_CG_PLAYSTORY_OVER); packet.SetStoryID(nClosedStoryID); packet.SendPacket(); }
public uint Execute(PacketDistributed ipacket) { CG_PLAYSTORY_OVER packet = (CG_PLAYSTORY_OVER )ipacket; if (null == packet) { return((uint)PACKET_EXE.PACKET_EXE_ERROR); } //enter your logic return((uint)PACKET_EXE.PACKET_EXE_CONTINUE); }