Ejemplo n.º 1
0
 internal IEnumerable <NativeSnapshotMetadata> Data()
 {
     return(PInvokeUtilities.ToEnumerable <NativeSnapshotMetadata>(
                C.SnapshotManager_FetchAllResponse_GetData_Length(SelfPtr()),
                index => new NativeSnapshotMetadata(
                    C.SnapshotManager_FetchAllResponse_GetData_GetElement(SelfPtr(), index))));
 }
Ejemplo n.º 2
0
 internal IEnumerable <MultiplayerInvitation> Invitations()
 {
     return(PInvokeUtilities.ToEnumerable(
                TurnBasedMultiplayerManager.TurnBasedMultiplayerManager_TurnBasedMatchesResponse_GetInvitations_Length(SelfPtr()),
                index => new MultiplayerInvitation(
                    TurnBasedMultiplayerManager.TurnBasedMultiplayerManager_TurnBasedMatchesResponse_GetInvitations_GetElement(SelfPtr(), index))));
 }
Ejemplo n.º 3
0
 internal IEnumerable <NativeQuest> Data()
 {
     return(PInvokeUtilities.ToEnumerable <NativeQuest>(
                C.QuestManager_FetchListResponse_GetData_Length(SelfPtr()),
                index => new NativeQuest(
                    C.QuestManager_FetchListResponse_GetData_GetElement(SelfPtr(), index))));
 }
Ejemplo n.º 4
0
 internal IEnumerable <NativeTurnBasedMatch> CompletedMatches()
 {
     return(PInvokeUtilities.ToEnumerable(
                TurnBasedMultiplayerManager.TurnBasedMultiplayerManager_TurnBasedMatchesResponse_GetCompletedMatches_Length(SelfPtr()),
                index => new NativeTurnBasedMatch(
                    TurnBasedMultiplayerManager.TurnBasedMultiplayerManager_TurnBasedMatchesResponse_GetCompletedMatches_GetElement(SelfPtr(), index))));
 }
 internal IEnumerable <MultiplayerParticipant> Participants()
 {
     return(PInvokeUtilities.ToEnumerable(
                C.TurnBasedMatch_Participants_Length(SelfPtr()),
                (index) => new MultiplayerParticipant(
                    C.TurnBasedMatch_Participants_GetElement(SelfPtr(), index))));
 }
Ejemplo n.º 6
0
 internal IEnumerable <MultiplayerInvitation> Invitations()
 {
     return(PInvokeUtilities.ToEnumerable(
                C.RealTimeMultiplayerManager_FetchInvitationsResponse_GetInvitations_Length(
                    SelfPtr()),
                index => new MultiplayerInvitation(
                    C.RealTimeMultiplayerManager_FetchInvitationsResponse_GetInvitations_GetElement(
                        SelfPtr(), index))
                ));
 }
Ejemplo n.º 7
0
 internal IEnumerable <GooglePlayGames.Native.PInvoke.MultiplayerInvitation> Invitations()
 {
     return(PInvokeUtilities.ToEnumerable <GooglePlayGames.Native.PInvoke.MultiplayerInvitation>(TurnBasedMultiplayerManager.TurnBasedMultiplayerManager_TurnBasedMatchesResponse_GetInvitations_Length(base.SelfPtr()), delegate(UIntPtr index) {
         return new GooglePlayGames.Native.PInvoke.MultiplayerInvitation(TurnBasedMultiplayerManager.TurnBasedMultiplayerManager_TurnBasedMatchesResponse_GetInvitations_GetElement(base.SelfPtr(), index));
     }));
 }
Ejemplo n.º 8
0
 internal IEnumerable <NativeTurnBasedMatch> TheirTurnMatches()
 {
     return(PInvokeUtilities.ToEnumerable <NativeTurnBasedMatch>(TurnBasedMultiplayerManager.TurnBasedMultiplayerManager_TurnBasedMatchesResponse_GetTheirTurnMatches_Length(this.SelfPtr()), (Func <UIntPtr, NativeTurnBasedMatch>)(index => new NativeTurnBasedMatch(TurnBasedMultiplayerManager.TurnBasedMultiplayerManager_TurnBasedMatchesResponse_GetTheirTurnMatches_GetElement(this.SelfPtr(), index)))));
 }
Ejemplo n.º 9
0
 internal IEnumerable <NativeSnapshotMetadata> Data()
 {
     return(PInvokeUtilities.ToEnumerable <NativeSnapshotMetadata>(GooglePlayGames.Native.Cwrapper.SnapshotManager.SnapshotManager_FetchAllResponse_GetData_Length(this.SelfPtr()), (Func <UIntPtr, NativeSnapshotMetadata>)(index => new NativeSnapshotMetadata(GooglePlayGames.Native.Cwrapper.SnapshotManager.SnapshotManager_FetchAllResponse_GetData_GetElement(this.SelfPtr(), index)))));
 }
Ejemplo n.º 10
0
 internal IEnumerable <NativeSnapshotMetadata> Data()
 {
     return(PInvokeUtilities.ToEnumerable <NativeSnapshotMetadata>(GooglePlayGames.Native.Cwrapper.SnapshotManager.SnapshotManager_FetchAllResponse_GetData_Length(base.SelfPtr()), delegate(UIntPtr index) {
         return new NativeSnapshotMetadata(GooglePlayGames.Native.Cwrapper.SnapshotManager.SnapshotManager_FetchAllResponse_GetData_GetElement(base.SelfPtr(), index));
     }));
 }
Ejemplo n.º 11
0
 internal IEnumerable <MultiplayerParticipant> Participants()
 {
     return(PInvokeUtilities.ToEnumerable <MultiplayerParticipant>(GooglePlayGames.Native.Cwrapper.TurnBasedMatch.TurnBasedMatch_Participants_Length(this.SelfPtr()), (Func <UIntPtr, MultiplayerParticipant>)(index => new MultiplayerParticipant(GooglePlayGames.Native.Cwrapper.TurnBasedMatch.TurnBasedMatch_Participants_GetElement(this.SelfPtr(), index)))));
 }
Ejemplo n.º 12
0
 internal IEnumerable <GooglePlayGames.Native.PInvoke.MultiplayerParticipant> Participants() =>
 PInvokeUtilities.ToEnumerable <GooglePlayGames.Native.PInvoke.MultiplayerParticipant>(RealTimeRoom.RealTimeRoom_Participants_Length(base.SelfPtr()), index => new GooglePlayGames.Native.PInvoke.MultiplayerParticipant(RealTimeRoom.RealTimeRoom_Participants_GetElement(base.SelfPtr(), index)));
Ejemplo n.º 13
0
 internal IEnumerable <MultiplayerParticipant> Participants()
 {
     return(PInvokeUtilities.ToEnumerable <MultiplayerParticipant>(RealTimeRoom.RealTimeRoom_Participants_Length(this.SelfPtr()), (Func <UIntPtr, MultiplayerParticipant>)(index => new MultiplayerParticipant(RealTimeRoom.RealTimeRoom_Participants_GetElement(this.SelfPtr(), index)))));
 }
Ejemplo n.º 14
0
 internal IEnumerable <MultiplayerInvitation> Invitations()
 {
     return(PInvokeUtilities.ToEnumerable <MultiplayerInvitation>(RealTimeMultiplayerManager.RealTimeMultiplayerManager_FetchInvitationsResponse_GetInvitations_Length(this.SelfPtr()), (Func <UIntPtr, MultiplayerInvitation>)(index => new MultiplayerInvitation(RealTimeMultiplayerManager.RealTimeMultiplayerManager_FetchInvitationsResponse_GetInvitations_GetElement(this.SelfPtr(), index)))));
 }
Ejemplo n.º 15
0
 internal IEnumerable <MultiplayerParticipant> Participants() =>
 PInvokeUtilities.ToEnumerable <MultiplayerParticipant>(TurnBasedMatch.TurnBasedMatch_Participants_Length(base.SelfPtr()), index => new MultiplayerParticipant(TurnBasedMatch.TurnBasedMatch_Participants_GetElement(base.SelfPtr(), index)));
Ejemplo n.º 16
0
 internal IEnumerable <NativeTurnBasedMatch> TheirTurnMatches()
 {
     return(PInvokeUtilities.ToEnumerable <NativeTurnBasedMatch>(TurnBasedMultiplayerManager.TurnBasedMultiplayerManager_TurnBasedMatchesResponse_GetTheirTurnMatches_Length(base.SelfPtr()), delegate(UIntPtr index) {
         return new NativeTurnBasedMatch(TurnBasedMultiplayerManager.TurnBasedMultiplayerManager_TurnBasedMatchesResponse_GetTheirTurnMatches_GetElement(base.SelfPtr(), index));
     }));
 }
Ejemplo n.º 17
0
 internal static IEnumerator <T> ToEnumerator <T>(UIntPtr size, Func <UIntPtr, T> getElement)
 {
     return(PInvokeUtilities.ToEnumerable <T>(size, getElement).GetEnumerator());
 }
Ejemplo n.º 18
0
 internal IEnumerable <GooglePlayGames.Native.PInvoke.MultiplayerParticipant> Participants()
 {
     return(PInvokeUtilities.ToEnumerable <GooglePlayGames.Native.PInvoke.MultiplayerParticipant>(GooglePlayGames.Native.Cwrapper.TurnBasedMatch.TurnBasedMatch_Participants_Length(base.SelfPtr()), delegate(UIntPtr index) {
         return new GooglePlayGames.Native.PInvoke.MultiplayerParticipant(GooglePlayGames.Native.Cwrapper.TurnBasedMatch.TurnBasedMatch_Participants_GetElement(base.SelfPtr(), index));
     }));
 }
Ejemplo n.º 19
0
 internal IEnumerable <GooglePlayGames.Native.PInvoke.MultiplayerParticipant> Participants()
 {
     return(PInvokeUtilities.ToEnumerable <GooglePlayGames.Native.PInvoke.MultiplayerParticipant>(RealTimeRoom.RealTimeRoom_Participants_Length(base.SelfPtr()), delegate(UIntPtr index) {
         return new GooglePlayGames.Native.PInvoke.MultiplayerParticipant(RealTimeRoom.RealTimeRoom_Participants_GetElement(base.SelfPtr(), index));
     }));
 }
Ejemplo n.º 20
0
 internal IEnumerable <NativeQuest> Data()
 {
     return(PInvokeUtilities.ToEnumerable <NativeQuest>(GooglePlayGames.Native.Cwrapper.QuestManager.QuestManager_FetchListResponse_GetData_Length(base.SelfPtr()), delegate(UIntPtr index) {
         return new NativeQuest(GooglePlayGames.Native.Cwrapper.QuestManager.QuestManager_FetchListResponse_GetData_GetElement(base.SelfPtr(), index));
     }));
 }
Ejemplo n.º 21
0
 internal IEnumerable <MultiplayerParticipant> Participants()
 {
     return(PInvokeUtilities.ToEnumerable(RealTimeRoom.RealTimeRoom_Participants_Length(SelfPtr()), (UIntPtr index) => new MultiplayerParticipant(RealTimeRoom.RealTimeRoom_Participants_GetElement(SelfPtr(), index))));
 }
Ejemplo n.º 22
0
 internal IEnumerable <NativeQuest> Data()
 {
     return(PInvokeUtilities.ToEnumerable <NativeQuest>(GooglePlayGames.Native.Cwrapper.QuestManager.QuestManager_FetchListResponse_GetData_Length(this.SelfPtr()), (Func <UIntPtr, NativeQuest>)(index => new NativeQuest(GooglePlayGames.Native.Cwrapper.QuestManager.QuestManager_FetchListResponse_GetData_GetElement(this.SelfPtr(), index)))));
 }