public void HandlePacket(GC_DAILYLUCKYDRAW_FAIL packet)
 {
     if (DailyLuckyDrawLogic.Instance())
     {
         DailyLuckyDrawLogic.Instance().HandleFailMsg(packet.Failreason);
     }
     m_bDrawing = false;
 }
Beispiel #2
0
        public uint Execute(PacketDistributed ipacket)
        {
            GC_DAILYLUCKYDRAW_FAIL packet = (GC_DAILYLUCKYDRAW_FAIL )ipacket;

            if (null == packet)
            {
                return((uint)PACKET_EXE.PACKET_EXE_ERROR);
            }
            //enter your logic
            GameManager.gameManager.PlayerDataPool.DailyLuckyDrawData.HandlePacket(packet);
            return((uint)PACKET_EXE.PACKET_EXE_CONTINUE);
        }