GKTurnBasedEventHandlerDelegate

Trait GKTurnBasedEventHandlerDelegate 

Source
pub unsafe trait GKTurnBasedEventHandlerDelegate {
    // Provided methods
    unsafe fn handleInviteFromGameCenter(
        &self,
        players_to_invite: &NSArray<NSString>,
    )
       where Self: Sized + Message { ... }
    unsafe fn handleTurnEventForMatch_didBecomeActive(
        &self,
        match: &GKTurnBasedMatch,
        did_become_active: bool,
    )
       where Self: Sized + Message { ... }
    unsafe fn handleTurnEventForMatch(&self, match: &GKTurnBasedMatch)
       where Self: Sized + Message { ... }
    unsafe fn handleMatchEnded(&self, match: &GKTurnBasedMatch)
       where Self: Sized + Message { ... }
}
👎Deprecated
Available on crate feature GKTurnBasedMatch only.
Expand description

Provided Methods§

Source

unsafe fn handleInviteFromGameCenter( &self, players_to_invite: &NSArray<NSString>, )
where Self: Sized + Message,

👎Deprecated
Source

unsafe fn handleTurnEventForMatch_didBecomeActive( &self, match: &GKTurnBasedMatch, did_become_active: bool, )
where Self: Sized + Message,

👎Deprecated
Source

unsafe fn handleTurnEventForMatch(&self, match: &GKTurnBasedMatch)
where Self: Sized + Message,

👎Deprecated
Source

unsafe fn handleMatchEnded(&self, match: &GKTurnBasedMatch)
where Self: Sized + Message,

👎Deprecated

Trait Implementations§

Source§

impl ProtocolType for dyn GKTurnBasedEventHandlerDelegate

Source§

const NAME: &'static str = "GKTurnBasedEventHandlerDelegate"

The name of the Objective-C protocol that this type represents. Read more
Source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
Source§

impl<T> ImplementedBy<T> for dyn GKTurnBasedEventHandlerDelegate

Implementations on Foreign Types§

Source§

impl<T> GKTurnBasedEventHandlerDelegate for ProtocolObject<T>

Implementors§