void ReceiveOnClick() { CG_RECEIVE_SHOPPINGLIST_PRESENT packet = (CG_RECEIVE_SHOPPINGLIST_PRESENT)PacketDistributed.CreatePacket(MessageID.PACKET_CG_RECEIVE_SHOPPINGLIST_PRESENT); packet.Guid = m_ChooseShoppingListGuid; packet.SendPacket(); CleanUp(); }
public uint Execute(PacketDistributed ipacket) { CG_RECEIVE_SHOPPINGLIST_PRESENT packet = (CG_RECEIVE_SHOPPINGLIST_PRESENT )ipacket; if (null == packet) { return((uint)PACKET_EXE.PACKET_EXE_ERROR); } //enter your logic return((uint)PACKET_EXE.PACKET_EXE_CONTINUE); }