public void ShowInviteDialog(InvitedToSquadEvent e, NotBattleUser selfUser, [JoinAll] DialogsNode dialogs, [JoinAll] Optional <SingleNode <EulaNotificationComponent> > eulaNotification, [JoinAll] Optional <SingleNode <PrivacyPolicyNotificationComponent> > ppNotification) { if (!eulaNotification.IsPresent() && !ppNotification.IsPresent()) { object[] objArray1 = new object[] { "InviteToLobbySystem.ShowInviteDialog ", selfUser.Entity, " UserUid=", e.UserUid, " FromUserId=", e.FromUserId, " EngineId=", e.EngineId }; Debug.Log(string.Concat(objArray1)); this.ShowInviteDialog(selfUser, e.EngineId, e.UserUid, e.FromUserId, dialogs); } }
public void ShowRequestDialog(RequestedToSquadEvent e, NotBattleUser selfUser, [JoinAll] DialogsNode dialogs, [JoinAll] Optional <SingleNode <EulaNotificationComponent> > eulaNotification, [JoinAll] Optional <SingleNode <PrivacyPolicyNotificationComponent> > ppNotification) { if (!eulaNotification.IsPresent() && !ppNotification.IsPresent()) { object[] objArray1 = new object[10]; objArray1[0] = "InviteToLobbySystem.ShowRequestDialog "; objArray1[1] = selfUser.Entity; objArray1[2] = " UserUid="; objArray1[3] = e.UserUid; objArray1[4] = " FromUserId="; objArray1[5] = e.FromUserId; objArray1[6] = " EngineId="; objArray1[7] = e.EngineId; objArray1[8] = " SquadId="; objArray1[9] = e.SquadId; Debug.Log(string.Concat(objArray1)); this.ShowRequestDialog(selfUser, e.EngineId, e.UserUid, e.FromUserId, e.SquadId, dialogs); } }