Vertices Engine
v1.9.2.92
A Cross Platform game engine developed by Virtex Edge Design.
|
Basic wrapper for interfacing with a Specific Services Game API's. This is the generic version. More...
Public Member Functions | |
void | SignIn () |
Signs the user in. | |
void | SignOut () |
Signs the user out. | |
void | ShareImage (string path, string extratxt="") |
Shares an image. This is only supported on Mobile currently. | |
void | AddAchievement (object key, vxAchievement achievement) |
Adds the achievement. | |
vxAchievement | GetAchievement (object key) |
Gets the achievement. | |
Dictionary< object, vxAchievement > | GetAchievements () |
void | IncrementAchievement (object key, int increment) |
Increments the achievement. | |
void | UnlockAchievement (object key) |
Unlocks the achievement. | |
void | ViewAchievments () |
View achievements for this platform. | |
void | SubmitLeaderboardScore (string id, long score) |
Submits a leaderboard score for this platform. | |
void | ViewLeaderboard (string id) |
View the leaderboard for this platform. | |
void | Initialise () |
This Initialises the main info. | |
void | InitialisePlayerInfo () |
This initialises the player info like icons. This is called later on as the graphics device must be active. | |
void | Dispose () |
Shutdown and close any connections. | |
void | ViewAllLeaderboards () |
Views all leaderboards for this platform. | |
void | Update () |
Runs callbacks for platform wrapper. | |
void | OpenURL (string url) |
Opens a URL using the specified platform. | |
void | OpenStorePage (string url) |
Opens the store page for this game given the app id info in the Config. | |
string[] | GetInstalledMods () |
Gets all of the currently installed mods. Note this does not mean they are enabled. | |
void | SetStatus (string status) |
Sets the status for this user. This is useful for Discord and Steam Rich Presence. | |
void | SetStatusKey (string key, string value) |
Sets the status for this user. This is useful for Discord and Steam Rich Presence. | |
void | ClearStatus () |
Clears the status for this user. This is useful for Discord and Steam Rich Presence. | |
void | SetStat (string key) |
Sets a stat value. This will incrememne the current value. | |
void | SetStat (string key, int value) |
Sets a stat value. This will explicitly set a value. | |
void | GetPlayerIconFromPlatform (string id, Action< bool, Texture2D > callback) |
Returns the player icon for the current platform using the specified id. | |
string | GetAuthTicket () |
Returns an auth ticket for this platform as a string. This allows developers to get an auth ticket or token which they can then pass on to a backend server to authenticate that the user is who they say they are. | |
Properties | |
bool | IsSignedIn [get] |
Is the user signed in. | |
string | Name [get] |
Gets the name of the signed in user. | |
string | Id [get] |
Gets the user identifier. This identifier is handed out by the virtex server. | |
vxPlatformType | PlatformType [get] |
Gets the Player Profile Backend, whether it's Steam, Google Play Services, etc... | |
Texture2D | Avatar [get] |
Gets the profile picture. | |
string | PreferredLanguage [get] |
This method will scrub all names and profile text info for any characters which aren't available in the spritefonts which have been loaded. | |
Dictionary< object, vxAchievement > | Achievements [get] |
Retusn the acehivement look up dictionary. | |
bool | IsPublishing [get, set] |
float | PublishProgress [get, set] |
Properties inherited from VerticesEngine.Profile.vxIPlayerProfile |
Events | |
EventHandler | OnSignedIn |
This event is fired when a user successfully signs in. | |
EventHandler | OnSignInFailed |
This event is fired when the Sign in fails for any reason. | |
Basic wrapper for interfacing with a Specific Services Game API's. This is the generic version.
void VerticesEngine.Profile.vxPlayerProfileGenericWrapper.AddAchievement | ( | object | key, |
vxAchievement | achievement ) |
Adds the achievement.
Implements VerticesEngine.Profile.vxIPlayerProfile.
void VerticesEngine.Profile.vxPlayerProfileGenericWrapper.ClearStatus | ( | ) |
Clears the status for this user. This is useful for Discord and Steam Rich Presence.
Implements VerticesEngine.Profile.vxIPlayerProfile.
void VerticesEngine.Profile.vxPlayerProfileGenericWrapper.Dispose | ( | ) |
Shutdown and close any connections.
Implements VerticesEngine.Profile.vxIPlayerProfile.
vxAchievement VerticesEngine.Profile.vxPlayerProfileGenericWrapper.GetAchievement | ( | object | key | ) |
Gets the achievement.
key | Key. |
Implements VerticesEngine.Profile.vxIPlayerProfile.
string VerticesEngine.Profile.vxPlayerProfileGenericWrapper.GetAuthTicket | ( | ) |
Returns an auth ticket for this platform as a string. This allows developers to get an auth ticket or token which they can then pass on to a backend server to authenticate that the user is who they say they are.
Implements VerticesEngine.Profile.vxIPlayerProfile.
string[] VerticesEngine.Profile.vxPlayerProfileGenericWrapper.GetInstalledMods | ( | ) |
Gets all of the currently installed mods. Note this does not mean they are enabled.
Implements VerticesEngine.Profile.vxIPlayerProfile.
void VerticesEngine.Profile.vxPlayerProfileGenericWrapper.GetPlayerIconFromPlatform | ( | string | id, |
Action< bool, Texture2D > | callback ) |
Returns the player icon for the current platform using the specified id.
id | The player profile icon |
callback | The callback which says whether it was successful and with the texture2D |
Implements VerticesEngine.Profile.vxIPlayerProfile.
void VerticesEngine.Profile.vxPlayerProfileGenericWrapper.IncrementAchievement | ( | object | key, |
int | increment ) |
Increments the achievement.
key | |
increment |
Implements VerticesEngine.Profile.vxIPlayerProfile.
void VerticesEngine.Profile.vxPlayerProfileGenericWrapper.Initialise | ( | ) |
This Initialises the main info.
Implements VerticesEngine.Profile.vxIPlayerProfile.
void VerticesEngine.Profile.vxPlayerProfileGenericWrapper.InitialisePlayerInfo | ( | ) |
This initialises the player info like icons. This is called later on as the graphics device must be active.
Implements VerticesEngine.Profile.vxIPlayerProfile.
void VerticesEngine.Profile.vxPlayerProfileGenericWrapper.OpenStorePage | ( | string | url | ) |
Opens the store page for this game given the app id info in the Config.
url |
Implements VerticesEngine.Profile.vxIPlayerProfile.
void VerticesEngine.Profile.vxPlayerProfileGenericWrapper.OpenURL | ( | string | url | ) |
Opens a URL using the specified platform.
url |
Implements VerticesEngine.Profile.vxIPlayerProfile.
void VerticesEngine.Profile.vxPlayerProfileGenericWrapper.SetStat | ( | string | key | ) |
Sets a stat value. This will incrememne the current value.
key |
Implements VerticesEngine.Profile.vxIPlayerProfile.
void VerticesEngine.Profile.vxPlayerProfileGenericWrapper.SetStat | ( | string | key, |
int | value ) |
Sets a stat value. This will explicitly set a value.
key | |
value |
Implements VerticesEngine.Profile.vxIPlayerProfile.
void VerticesEngine.Profile.vxPlayerProfileGenericWrapper.SetStatus | ( | string | status | ) |
Sets the status for this user. This is useful for Discord and Steam Rich Presence.
status |
Implements VerticesEngine.Profile.vxIPlayerProfile.
void VerticesEngine.Profile.vxPlayerProfileGenericWrapper.SetStatusKey | ( | string | key, |
string | value ) |
Sets the status for this user. This is useful for Discord and Steam Rich Presence.
key | |
value |
Implements VerticesEngine.Profile.vxIPlayerProfile.
void VerticesEngine.Profile.vxPlayerProfileGenericWrapper.ShareImage | ( | string | path, |
string | extratxt = "" ) |
Shares an image. This is only supported on Mobile currently.
path | |
extratxt |
Implements VerticesEngine.Profile.vxIPlayerProfile.
void VerticesEngine.Profile.vxPlayerProfileGenericWrapper.SignIn | ( | ) |
Signs the user in.
true
, if in was signed, false
otherwise.Implements VerticesEngine.Profile.vxIPlayerProfile.
void VerticesEngine.Profile.vxPlayerProfileGenericWrapper.SignOut | ( | ) |
Signs the user out.
true
, if out was signed, false
otherwise.Implements VerticesEngine.Profile.vxIPlayerProfile.
void VerticesEngine.Profile.vxPlayerProfileGenericWrapper.SubmitLeaderboardScore | ( | string | id, |
long | score ) |
Submits a leaderboard score for this platform.
id | |
score |
Implements VerticesEngine.Profile.vxIPlayerProfile.
void VerticesEngine.Profile.vxPlayerProfileGenericWrapper.UnlockAchievement | ( | object | key | ) |
void VerticesEngine.Profile.vxPlayerProfileGenericWrapper.Update | ( | ) |
Runs callbacks for platform wrapper.
Implements VerticesEngine.Profile.vxIPlayerProfile.
void VerticesEngine.Profile.vxPlayerProfileGenericWrapper.ViewAchievments | ( | ) |
View achievements for this platform.
Implements VerticesEngine.Profile.vxIPlayerProfile.
void VerticesEngine.Profile.vxPlayerProfileGenericWrapper.ViewAllLeaderboards | ( | ) |
Views all leaderboards for this platform.
Implements VerticesEngine.Profile.vxIPlayerProfile.
void VerticesEngine.Profile.vxPlayerProfileGenericWrapper.ViewLeaderboard | ( | string | id | ) |
View the leaderboard for this platform.
id |
Implements VerticesEngine.Profile.vxIPlayerProfile.
|
get |
Retusn the acehivement look up dictionary.
Implements VerticesEngine.Profile.vxIPlayerProfile.
|
get |
|
get |
Gets the user identifier. This identifier is handed out by the virtex server.
The user identifier.
Implements VerticesEngine.Profile.vxIPlayerProfile.
|
get |
Is the user signed in.
true
, if signed in was ised, false
otherwise.Implements VerticesEngine.Profile.vxIPlayerProfile.
|
get |
Gets the name of the signed in user.
The name of the user.
Implements VerticesEngine.Profile.vxIPlayerProfile.
|
get |
Gets the Player Profile Backend, whether it's Steam, Google Play Services, etc...
Implements VerticesEngine.Profile.vxIPlayerProfile.
|
get |
This method will scrub all names and profile text info for any characters which aren't available in the spritefonts which have been loaded.
Implements VerticesEngine.Profile.vxIPlayerProfile.