public void UpdateGoldMoneyShopTime() { CG_ASK_GOLDMONEYSHOPTIME packet = (CG_ASK_GOLDMONEYSHOPTIME)PacketDistributed.CreatePacket(MessageID.PACKET_CG_ASK_GOLDMONEYSHOPTIME); packet.NoParam = 1; packet.SendPacket(); }
public uint Execute(PacketDistributed ipacket) { CG_ASK_GOLDMONEYSHOPTIME packet = (CG_ASK_GOLDMONEYSHOPTIME )ipacket; if (null == packet) { return((uint)PACKET_EXE.PACKET_EXE_ERROR); } //enter your logic return((uint)PACKET_EXE.PACKET_EXE_CONTINUE); }