Vertices Engine  v1.9.2.92
A Cross Platform game engine developed by Virtex Edge Design.
Loading...
Searching...
No Matches
VerticesEngine.Profile.vxPlatform Class Reference

This class allows access to all of the platform specific functions such as the signed in player, or unlocking achievements, viewing leaderboards etc... The default platform wrappers are provided for Steam, Google Play and iOS. You can create your own by implementing the vxIPlayerProfile interface and overriding the VerticesEngine.vxGame.InitPlayerPlatformProfile() method call. More...

Static Public Member Functions

static void UnlockAchievement (object key)
 Unlock Achievements for the current player.
 
static vxAchievement GetAchievement (object key)
 Gets the achievement for the current player.
 

Properties

static vxIPlayerProfile Player [get]
 This is the main player profile signed in to the game. You can unlock achievements and view leaderboards through this property here.
 
static vxPlatformType Platform [get]
 What platform are we currently running as?
 

Detailed Description

This class allows access to all of the platform specific functions such as the signed in player, or unlocking achievements, viewing leaderboards etc...

The default platform wrappers are provided for Steam, Google Play and iOS. You can create your own by implementing the vxIPlayerProfile interface and overriding the VerticesEngine.vxGame.InitPlayerPlatformProfile() method call.

public sealed class MyPlatformPlayerProfileWrapper : vxIPlayerProfile { ... }

Member Function Documentation

◆ GetAchievement()

static vxAchievement VerticesEngine.Profile.vxPlatform.GetAchievement ( object key)
static

Gets the achievement for the current player.

Parameters
keyThe achievement key
Returns

◆ UnlockAchievement()

static void VerticesEngine.Profile.vxPlatform.UnlockAchievement ( object key)
static

Unlock Achievements for the current player.

Parameters
keyThe achievement key

The documentation for this class was generated from the following file: