NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
GKTurnBasedMatch(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
void |
acceptInviteWithCompletionHandler(GKTurnBasedMatch.Block_acceptInviteWithCompletionHandler completionHandler)
If the local participant has status invited then accept the invite, otherwise returns an error
|
static boolean |
accessInstanceVariablesDirectly() |
NSArray<? extends GKTurnBasedExchange> |
activeExchanges()
returns the exchanges that currently await a reply from the local player
|
static GKTurnBasedMatch |
alloc() |
static GKTurnBasedMatch |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument) |
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
NSArray<? extends GKTurnBasedExchange> |
completedExchanges()
returns the exchanges that have been completed and need to be merged by the local participant.
|
NSDate |
creationDate() |
GKTurnBasedParticipant |
currentParticipant()
This indicates the participant who has the current turn.
|
static java.lang.String |
debugDescription_static() |
void |
declineInviteWithCompletionHandler(GKTurnBasedMatch.Block_declineInviteWithCompletionHandler completionHandler)
If the local participant has status invited then decline the invite, otherwise returns an error
|
static java.lang.String |
description_static() |
void |
endMatchInTurnWithMatchDataCompletionHandler(NSData matchData,
GKTurnBasedMatch.Block_endMatchInTurnWithMatchDataCompletionHandler completionHandler)
This will end the match for all participants.
|
void |
endMatchInTurnWithMatchDataLeaderboardScoresAchievementsCompletionHandler(NSData matchData,
NSArray<? extends GKLeaderboardScore> scores,
NSArray<?> achievements,
GKTurnBasedMatch.Block_endMatchInTurnWithMatchDataLeaderboardScoresAchievementsCompletionHandler completionHandler) |
void |
endMatchInTurnWithMatchDataScoresAchievementsCompletionHandler(NSData matchData,
NSArray<? extends GKScore> scores,
NSArray<? extends GKAchievement> achievements,
GKTurnBasedMatch.Block_endMatchInTurnWithMatchDataScoresAchievementsCompletionHandler completionHandler)
This will end the match and submit scores and achievements for all participants.
|
void |
endTurnWithNextParticipantMatchDataCompletionHandler(GKTurnBasedParticipant nextParticipant,
NSData matchData,
GKTurnBasedMatch.Block_endTurnWithNextParticipantMatchDataCompletionHandler completionHandler)
Deprecated.
|
void |
endTurnWithNextParticipantsTurnTimeoutMatchDataCompletionHandler(NSArray<? extends GKTurnBasedParticipant> nextParticipants,
double timeout,
NSData matchData,
GKTurnBasedMatch.Block_endTurnWithNextParticipantsTurnTimeoutMatchDataCompletionHandler completionHandler)
Ends the current player's turn.
|
long |
exchangeDataMaximumSize()
maximum data allowed for exchange data
|
long |
exchangeMaxInitiatedExchangesPerPlayer()
limit of the number of exchanges that this player can have initiated at a given time
|
NSArray<? extends GKTurnBasedExchange> |
exchanges()
exchanges that are in progress on this match.
|
static void |
findMatchForRequestWithCompletionHandler(GKMatchRequest request,
GKTurnBasedMatch.Block_findMatchForRequestWithCompletionHandler completionHandler)
Attempt to find a turn-based match for the specified request.
|
static long |
hash_static() |
GKTurnBasedMatch |
init() |
static NSObject.Function_instanceMethodForSelector_ret |
instanceMethodForSelector(org.moe.natj.objc.SEL aSelector) |
static NSMethodSignature |
instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
instancesRespondToSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
void |
loadMatchDataWithCompletionHandler(GKTurnBasedMatch.Block_loadMatchDataWithCompletionHandler completionHandler)
This method fetches the match data and exchanges for this match.
|
static void |
loadMatchesWithCompletionHandler(GKTurnBasedMatch.Block_loadMatchesWithCompletionHandler completionHandler)
This method retrieves the list of GKTurnBasedMatches that the current player is or has participated in.
|
static void |
loadMatchWithIDWithCompletionHandler(java.lang.String matchID,
GKTurnBasedMatch.Block_loadMatchWithIDWithCompletionHandler completionHandler)
load a match based on a previously known match ID
|
NSData |
matchData()
Developer-defined data representing the current state of the game.
|
long |
matchDataMaximumSize()
Returns the maximum size for the match data.
|
java.lang.String |
matchID() |
java.lang.String |
message()
returns the localizable message in the current locale.
|
static GKTurnBasedMatch |
new_objc() |
void |
participantQuitInTurnWithOutcomeNextParticipantMatchDataCompletionHandler(long matchOutcome,
GKTurnBasedParticipant nextParticipant,
NSData matchData,
GKTurnBasedMatch.Block_participantQuitInTurnWithOutcomeNextParticipantMatchDataCompletionHandler completionHandler)
Deprecated.
|
void |
participantQuitInTurnWithOutcomeNextParticipantsTurnTimeoutMatchDataCompletionHandler(long matchOutcome,
NSArray<? extends GKTurnBasedParticipant> nextParticipants,
double timeout,
NSData matchData,
GKTurnBasedMatch.Block_participantQuitInTurnWithOutcomeNextParticipantsTurnTimeoutMatchDataCompletionHandler completionHandler)
Ends the current player's turn by quitting the match. The caller must indicate the next player and pass in updated matchData (if used).
|
void |
participantQuitOutOfTurnWithOutcomeWithCompletionHandler(long matchOutcome,
GKTurnBasedMatch.Block_participantQuitOutOfTurnWithOutcomeWithCompletionHandler completionHandler)
Abandon the match when it is not the current participant's turn.
|
NSArray<? extends GKTurnBasedParticipant> |
participants()
array of GKTurnBasedParticipant objects
|
void |
rematchWithCompletionHandler(GKTurnBasedMatch.Block_rematchWithCompletionHandler completionHandler)
Recreate a previously existing turn based match that ended.
|
void |
removeWithCompletionHandler(GKTurnBasedMatch.Block_removeWithCompletionHandler completionHandler)
Remove a declined or completed match (one with a matchOutcome set) from the player's list of matches.
|
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
void |
saveCurrentTurnWithMatchDataCompletionHandler(NSData matchData,
GKTurnBasedMatch.Block_saveCurrentTurnWithMatchDataCompletionHandler completionHandler)
saves the matchData for the current turn without ending the turn.
|
void |
saveMergedMatchDataWithResolvedExchangesCompletionHandler(NSData matchData,
NSArray<? extends GKTurnBasedExchange> exchanges,
GKTurnBasedMatch.Block_saveMergedMatchDataWithResolvedExchangesCompletionHandler completionHandler)
saves the merged matchData for the current turn without ending the turn and mark the supplied exchanges as resolved meaning that the data has been merged into the match data.
|
void |
sendExchangeToParticipantsDataLocalizableMessageKeyArgumentsTimeoutCompletionHandler(NSArray<? extends GKTurnBasedParticipant> participants,
NSData data,
java.lang.String key,
NSArray<java.lang.String> arguments,
double timeout,
GKTurnBasedMatch.Block_sendExchangeToParticipantsDataLocalizableMessageKeyArgumentsTimeoutCompletionHandler completionHandler)
Send an exchange request to one or more participants.
|
void |
sendReminderToParticipantsLocalizableMessageKeyArgumentsCompletionHandler(NSArray<? extends GKTurnBasedParticipant> participants,
java.lang.String key,
NSArray<java.lang.String> arguments,
GKTurnBasedMatch.Block_sendReminderToParticipantsLocalizableMessageKeyArgumentsCompletionHandler completionHandler)
Send a reminder to one or more participants.
|
void |
setLocalizableMessageWithKeyArguments(java.lang.String key,
NSArray<java.lang.String> arguments)
If the developer wishes to display a message in GKTurnBasedMatchmakerViewController at the end of a turn or end of the match.
|
void |
setMessage(java.lang.String value)
returns the localizable message in the current locale.
|
static void |
setVersion_static(long aVersion) |
long |
status() |
static org.moe.natj.objc.Class |
superclass_static() |
static long |
version_static() |
accessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKeypublic static boolean accessInstanceVariablesDirectly()
public static GKTurnBasedMatch alloc()
public static GKTurnBasedMatch allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument)
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public static java.lang.String debugDescription_static()
public static java.lang.String description_static()
public static void findMatchForRequestWithCompletionHandler(GKMatchRequest request, GKTurnBasedMatch.Block_findMatchForRequestWithCompletionHandler completionHandler)
public static long hash_static()
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static void loadMatchWithIDWithCompletionHandler(java.lang.String matchID,
GKTurnBasedMatch.Block_loadMatchWithIDWithCompletionHandler completionHandler)
public static void loadMatchesWithCompletionHandler(GKTurnBasedMatch.Block_loadMatchesWithCompletionHandler completionHandler)
public static GKTurnBasedMatch new_objc()
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public static void setVersion_static(long aVersion)
public static org.moe.natj.objc.Class superclass_static()
public static long version_static()
public void acceptInviteWithCompletionHandler(GKTurnBasedMatch.Block_acceptInviteWithCompletionHandler completionHandler)
public NSArray<? extends GKTurnBasedExchange> activeExchanges()
public NSArray<? extends GKTurnBasedExchange> completedExchanges()
public NSDate creationDate()
public GKTurnBasedParticipant currentParticipant()
public void declineInviteWithCompletionHandler(GKTurnBasedMatch.Block_declineInviteWithCompletionHandler completionHandler)
public void endMatchInTurnWithMatchDataCompletionHandler(NSData matchData, GKTurnBasedMatch.Block_endMatchInTurnWithMatchDataCompletionHandler completionHandler)
public void endMatchInTurnWithMatchDataScoresAchievementsCompletionHandler(NSData matchData, NSArray<? extends GKScore> scores, NSArray<? extends GKAchievement> achievements, GKTurnBasedMatch.Block_endMatchInTurnWithMatchDataScoresAchievementsCompletionHandler completionHandler)
@Deprecated public void endTurnWithNextParticipantMatchDataCompletionHandler(GKTurnBasedParticipant nextParticipant, NSData matchData, GKTurnBasedMatch.Block_endTurnWithNextParticipantMatchDataCompletionHandler completionHandler)
public void endTurnWithNextParticipantsTurnTimeoutMatchDataCompletionHandler(NSArray<? extends GKTurnBasedParticipant> nextParticipants, double timeout, NSData matchData, GKTurnBasedMatch.Block_endTurnWithNextParticipantsTurnTimeoutMatchDataCompletionHandler completionHandler)
public long exchangeDataMaximumSize()
public long exchangeMaxInitiatedExchangesPerPlayer()
public NSArray<? extends GKTurnBasedExchange> exchanges()
public GKTurnBasedMatch init()
public void loadMatchDataWithCompletionHandler(GKTurnBasedMatch.Block_loadMatchDataWithCompletionHandler completionHandler)
public NSData matchData()
public long matchDataMaximumSize()
public java.lang.String matchID()
public java.lang.String message()
@Deprecated
public void participantQuitInTurnWithOutcomeNextParticipantMatchDataCompletionHandler(long matchOutcome,
GKTurnBasedParticipant nextParticipant,
NSData matchData,
GKTurnBasedMatch.Block_participantQuitInTurnWithOutcomeNextParticipantMatchDataCompletionHandler completionHandler)
public void participantQuitInTurnWithOutcomeNextParticipantsTurnTimeoutMatchDataCompletionHandler(long matchOutcome,
NSArray<? extends GKTurnBasedParticipant> nextParticipants,
double timeout,
NSData matchData,
GKTurnBasedMatch.Block_participantQuitInTurnWithOutcomeNextParticipantsTurnTimeoutMatchDataCompletionHandler completionHandler)
public void participantQuitOutOfTurnWithOutcomeWithCompletionHandler(long matchOutcome,
GKTurnBasedMatch.Block_participantQuitOutOfTurnWithOutcomeWithCompletionHandler completionHandler)
public NSArray<? extends GKTurnBasedParticipant> participants()
public void rematchWithCompletionHandler(GKTurnBasedMatch.Block_rematchWithCompletionHandler completionHandler)
public void removeWithCompletionHandler(GKTurnBasedMatch.Block_removeWithCompletionHandler completionHandler)
public void saveCurrentTurnWithMatchDataCompletionHandler(NSData matchData, GKTurnBasedMatch.Block_saveCurrentTurnWithMatchDataCompletionHandler completionHandler)
public void saveMergedMatchDataWithResolvedExchangesCompletionHandler(NSData matchData, NSArray<? extends GKTurnBasedExchange> exchanges, GKTurnBasedMatch.Block_saveMergedMatchDataWithResolvedExchangesCompletionHandler completionHandler)
public void sendExchangeToParticipantsDataLocalizableMessageKeyArgumentsTimeoutCompletionHandler(NSArray<? extends GKTurnBasedParticipant> participants, NSData data, java.lang.String key, NSArray<java.lang.String> arguments, double timeout, GKTurnBasedMatch.Block_sendExchangeToParticipantsDataLocalizableMessageKeyArgumentsTimeoutCompletionHandler completionHandler)
public void sendReminderToParticipantsLocalizableMessageKeyArgumentsCompletionHandler(NSArray<? extends GKTurnBasedParticipant> participants, java.lang.String key, NSArray<java.lang.String> arguments, GKTurnBasedMatch.Block_sendReminderToParticipantsLocalizableMessageKeyArgumentsCompletionHandler completionHandler)
public void setLocalizableMessageWithKeyArguments(java.lang.String key,
NSArray<java.lang.String> arguments)
public void setMessage(java.lang.String value)
public long status()
public void endMatchInTurnWithMatchDataLeaderboardScoresAchievementsCompletionHandler(NSData matchData, NSArray<? extends GKLeaderboardScore> scores, NSArray<?> achievements, GKTurnBasedMatch.Block_endMatchInTurnWithMatchDataLeaderboardScoresAchievementsCompletionHandler completionHandler)