public void Recv_SubtitleIndexRewardResult(body_SC_SUBTITLE_INDEX_REWARD_RESULT _rewardResult) { AsDesignationManager.Instance.SendRequestReward = false; switch(_rewardResult.eResult) { case eRESULTCODE.eRESULT_SUCC: DesignationIndexRewardResult( _rewardResult.nSubTitleTableIdx , true ); AsEventNotifyMgr.Instance.CenterNotify.AddMessage(AsTableManager.Instance.GetTbl_String(2777)); break; case eRESULTCODE.eRESULT_FAIL: Debug.LogWarning("SubtitleIndexRewardResult fail , sustitle index : " + _rewardResult.nSubTitleTableIdx ); AsEventNotifyMgr.Instance.CenterNotify.AddMessage(AsTableManager.Instance.GetTbl_String(1630)); break; case eRESULTCODE.eRESULT_FAIL_IVNENTORY_FULL: AsNotify.Instance.MessageBox( AsTableManager.Instance.GetTbl_String(126), AsTableManager.Instance.GetTbl_String(118), null, "", AsNotify.MSG_BOX_TYPE.MBT_OK, AsNotify.MSG_BOX_ICON.MBI_NOTICE); break; } }
void SubtitleIndexRewardResult( byte[] _packet) { body_SC_SUBTITLE_INDEX_REWARD_RESULT result = new body_SC_SUBTITLE_INDEX_REWARD_RESULT(); result.PacketBytesToClass( _packet); AsDesignationRankRewardManager.Instance.Recv_SubtitleIndexRewardResult (result); }