private void On_Invite_Reverse_InBat_Refuse(CUIEvent uievent) { ListView <FriendReserve.Ent> listView = Singleton <CFriendContoller> .instance.model.friendReserve.dataList[0]; int srcWidgetIndexInBelongedList = uievent.m_srcWidgetIndexInBelongedList; if (srcWidgetIndexInBelongedList < 0 || srcWidgetIndexInBelongedList >= listView.Count) { return; } FriendReserve.Ent ent = listView[srcWidgetIndexInBelongedList]; if (ent == null) { return; } FriendSysNetCore.SendReceiveReserveProcess(ent.ullUid, ent.dwLogicWorldId, 1, this.NoMoreReceiveReverse); listView.RemoveAt(srcWidgetIndexInBelongedList); this.OnRECEIVE_RESERVE_DATA_CHANGE(); }
public void On_Invite_Reverse_InBat_NoMore_Receive(CUIEvent uiEvent) { this.NoMoreReceiveReverse = true; this.noReceiveNode.CustomSetActive(false); FriendSysNetCore.SendReceiveReserveProcess(0uL, 0u, 0, this.NoMoreReceiveReverse); }