Inherits from NSObject
Declared in NPSocialContainers.h

Overview

The NPGamePlayerContainer can be used to retrieve data on the current player.

Tasks

Properties

isSocialAuthenticated

Whether or not the current player is a Facebook (or Twitter in the future for example) user or not.

@property (nonatomic, readonly) BOOL isSocialAuthenticated

Declared In

NPSocialContainers.h

playerId

The player ID.

@property (nonatomic, readonly) NSString *playerId

Declared In

NPSocialContainers.h

playerImage

The player image.

@property (nonatomic, readonly) UIImage *playerImage

Discussion

Note: This property can sometimes return nil (happens if the image is unavailable in the local cache).

Declared In

NPSocialContainers.h

playerName

The player name.

@property (nonatomic, readonly) NSString *playerName

Declared In

NPSocialContainers.h

profileImageUrl

The player image URL.

@property (nonatomic, readonly) NSString *profileImageUrl

Declared In

NPSocialContainers.h