Game Center (overlay objective-c methods)

Game Center (overlay objective-c methods)
0.0 0


Hi all

I trying implement Game Center, using this tutorial

we have follow function

  • (void)findMatchWithMinPlayers:(int)minPlayers maxPlayers:(int)maxPlayers
    viewController:(UIViewController **)viewController

in Obj-c used follow for call this method
AppDelegate** delegate = (AppDelegate *) [UIApplication sharedApplication].delegate;
[[GCHelper sharedInstance] findMatchWithMinPlayers:2 maxPlayers:2 viewController:delegate.viewController delegate:self];

What is way to call this from c++?

I do not know how to set “protocol” as parameter

Sorry for my poor English