internal IEnumerable <NativeSnapshotMetadata> Data() { return(PInvokeUtilities.ToEnumerable <NativeSnapshotMetadata>( C.SnapshotManager_FetchAllResponse_GetData_Length(SelfPtr()), index => new NativeSnapshotMetadata( C.SnapshotManager_FetchAllResponse_GetData_GetElement(SelfPtr(), index)))); }
internal IEnumerable <MultiplayerInvitation> Invitations() { return(PInvokeUtilities.ToEnumerable( TurnBasedMultiplayerManager.TurnBasedMultiplayerManager_TurnBasedMatchesResponse_GetInvitations_Length(SelfPtr()), index => new MultiplayerInvitation( TurnBasedMultiplayerManager.TurnBasedMultiplayerManager_TurnBasedMatchesResponse_GetInvitations_GetElement(SelfPtr(), index)))); }
internal IEnumerable <NativeQuest> Data() { return(PInvokeUtilities.ToEnumerable <NativeQuest>( C.QuestManager_FetchListResponse_GetData_Length(SelfPtr()), index => new NativeQuest( C.QuestManager_FetchListResponse_GetData_GetElement(SelfPtr(), index)))); }
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)))); }
internal IEnumerable <MultiplayerInvitation> Invitations() { return(PInvokeUtilities.ToEnumerable( C.RealTimeMultiplayerManager_FetchInvitationsResponse_GetInvitations_Length( SelfPtr()), index => new MultiplayerInvitation( C.RealTimeMultiplayerManager_FetchInvitationsResponse_GetInvitations_GetElement( SelfPtr(), index)) )); }
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)); })); }
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))))); }
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))))); }
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)); })); }
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))))); }
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)));
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))))); }
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))))); }
internal IEnumerable <MultiplayerParticipant> Participants() => PInvokeUtilities.ToEnumerable <MultiplayerParticipant>(TurnBasedMatch.TurnBasedMatch_Participants_Length(base.SelfPtr()), index => new MultiplayerParticipant(TurnBasedMatch.TurnBasedMatch_Participants_GetElement(base.SelfPtr(), index)));
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)); })); }
internal static IEnumerator <T> ToEnumerator <T>(UIntPtr size, Func <UIntPtr, T> getElement) { return(PInvokeUtilities.ToEnumerable <T>(size, getElement).GetEnumerator()); }
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)); })); }
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)); })); }
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)); })); }
internal IEnumerable <MultiplayerParticipant> Participants() { return(PInvokeUtilities.ToEnumerable(RealTimeRoom.RealTimeRoom_Participants_Length(SelfPtr()), (UIntPtr index) => new MultiplayerParticipant(RealTimeRoom.RealTimeRoom_Participants_GetElement(SelfPtr(), index)))); }
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))))); }