Esempio n. 1
0
 void OnAttendRewardGetAckHandler(C2G.AttendRewardGet packet, C2G.AttendRewardGetAck ack)
 {
     m_Attend.SetReward(ack.take_count);
     m_RewardItems[packet.take_count].SetReward();
     if (Network.Instance.UnreadMailState == PacketEnums.pe_UnreadMailState.None)
     {
         Network.Instance.SetUnreadMail(PacketEnums.pe_UnreadMailState.UnreadMail);
     }
     Tooltip.Instance.ShowMessageKey("AttendRewarded");
 }