コード例 #1
0
        internal MultiplayerParticipant Inviter()
        {
            MultiplayerParticipant participant = new MultiplayerParticipant(MultiplayerInvitation.MultiplayerInvitation_InvitingParticipant(base.SelfPtr()));

            if (!participant.Valid())
            {
                participant.Dispose();
                return(null);
            }
            return(participant);
        }
コード例 #2
0
        internal MultiplayerParticipant PendingParticipant()
        {
            MultiplayerParticipant multiplayerParticipant = new MultiplayerParticipant(GooglePlayGames.Native.Cwrapper.TurnBasedMatch.TurnBasedMatch_PendingParticipant(this.SelfPtr()));

            if (multiplayerParticipant.Valid())
            {
                return(multiplayerParticipant);
            }
            multiplayerParticipant.Dispose();
            return((MultiplayerParticipant)null);
        }
コード例 #3
0
    internal MultiplayerParticipant Inviter() {
        MultiplayerParticipant participant =
            new MultiplayerParticipant(C.MultiplayerInvitation_InvitingParticipant(SelfPtr()));

        if (!participant.Valid()) {
            participant.Dispose();
            return null;
        }

        return participant;
    }
コード例 #4
0
        internal MultiplayerParticipant Inviter()
        {
            MultiplayerParticipant multiplayerParticipant = new MultiplayerParticipant(GooglePlayGames.Native.Cwrapper.MultiplayerInvitation.MultiplayerInvitation_InvitingParticipant(this.SelfPtr()));

            if (multiplayerParticipant.Valid())
            {
                return(multiplayerParticipant);
            }
            multiplayerParticipant.Dispose();
            return((MultiplayerParticipant)null);
        }
コード例 #5
0
        internal MultiplayerParticipant PendingParticipant()
        {
            MultiplayerParticipant participant = new MultiplayerParticipant(TurnBasedMatch.TurnBasedMatch_PendingParticipant(base.SelfPtr()));

            if (!participant.Valid())
            {
                participant.Dispose();
                return(null);
            }
            return(participant);
        }
コード例 #6
0
        internal MultiplayerParticipant Inviter()
        {
            MultiplayerParticipant participant =
                new MultiplayerParticipant(C.MultiplayerInvitation_InvitingParticipant(SelfPtr()));

            if (!participant.Valid())
            {
                participant.Dispose();
                return null;
            }

            return participant;
        }
コード例 #7
0
        internal MultiplayerParticipant PendingParticipant()
        {
            var participant = new MultiplayerParticipant(
                              C.TurnBasedMatch_PendingParticipant(SelfPtr()));

            if (!participant.Valid())
            {
                participant.Dispose();
                return null;
            }

            return participant;
        }