Vertices Engine
v1.9.2.92
A Cross Platform game engine developed by Virtex Edge Design.
|
ItchIO platform wrapper. More...
Public Member Functions | |
void | Initialise () |
This Initialises the main info. | |
void | SignIn () |
Signs the user in. | |
void | SignOut () |
Signs the user out. | |
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. | |
void | ViewAchievments () |
View achievements for this platform. | |
void | AddAchievement (object key, vxAchievement achievement) |
Adds the achievement. | |
vxAchievement | GetAchievement (object key) |
Gets the achievement. | |
void | IncrementAchievement (object key, int increment) |
Increments the achievement. | |
void | UnlockAchievement (object key) |
Unlocks the achievement. | |
void | InitialisePlayerInfo () |
This initialises the player info like icons. This is called later on as the graphics device must be active. | |
void | ShareImage (string path, string extratxt="") |
Shares an image. This is only supported on Mobile currently. | |
void | Dispose () |
Shutdown and close any connections. | |
void | ViewAllLeaderboards () |
Views all leaderboards for this platform. | |
void | ViewLeaderboard (string id) |
View the leaderboard for this platform. | |
void | SubmitLeaderboardScore (string id, long score) |
Submits a leaderboard score 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. | |
Properties | |
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. | |
bool | IsSignedIn [get] |
Is the user signed in. | |
Dictionary< object, vxAchievement > | Achievements [get] |
Retusn the acehivement look up dictionary. | |
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. | |
ItchIO platform wrapper.
void VerticesEngine.Profile.vxPlayerProfileItchIoWrapper.AddAchievement | ( | object | key, |
vxAchievement | achievement ) |
Adds the achievement.
Implements VerticesEngine.Profile.vxIPlayerProfile.
void VerticesEngine.Profile.vxPlayerProfileItchIoWrapper.ClearStatus | ( | ) |
Clears the status for this user. This is useful for Discord and Steam Rich Presence.
Implements VerticesEngine.Profile.vxIPlayerProfile.
void VerticesEngine.Profile.vxPlayerProfileItchIoWrapper.Dispose | ( | ) |
Shutdown and close any connections.
Implements VerticesEngine.Profile.vxIPlayerProfile.
vxAchievement VerticesEngine.Profile.vxPlayerProfileItchIoWrapper.GetAchievement | ( | object | key | ) |
Gets the achievement.
key | Key. |
Implements VerticesEngine.Profile.vxIPlayerProfile.
string VerticesEngine.Profile.vxPlayerProfileItchIoWrapper.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.vxPlayerProfileItchIoWrapper.GetInstalledMods | ( | ) |
Gets all of the currently installed mods. Note this does not mean they are enabled.
Implements VerticesEngine.Profile.vxIPlayerProfile.
void VerticesEngine.Profile.vxPlayerProfileItchIoWrapper.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.vxPlayerProfileItchIoWrapper.IncrementAchievement | ( | object | key, |
int | increment ) |
Increments the achievement.
key | |
increment |
Implements VerticesEngine.Profile.vxIPlayerProfile.
void VerticesEngine.Profile.vxPlayerProfileItchIoWrapper.Initialise | ( | ) |
This Initialises the main info.
Implements VerticesEngine.Profile.vxIPlayerProfile.
void VerticesEngine.Profile.vxPlayerProfileItchIoWrapper.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.vxPlayerProfileItchIoWrapper.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.vxPlayerProfileItchIoWrapper.OpenURL | ( | string | url | ) |
Opens a URL using the specified platform.
url |
Implements VerticesEngine.Profile.vxIPlayerProfile.
void VerticesEngine.Profile.vxPlayerProfileItchIoWrapper.SetStat | ( | string | key | ) |
Sets a stat value. This will incrememne the current value.
key |
Implements VerticesEngine.Profile.vxIPlayerProfile.
void VerticesEngine.Profile.vxPlayerProfileItchIoWrapper.SetStat | ( | string | key, |
int | value ) |
Sets a stat value. This will explicitly set a value.
key | |
value |
Implements VerticesEngine.Profile.vxIPlayerProfile.
void VerticesEngine.Profile.vxPlayerProfileItchIoWrapper.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.vxPlayerProfileItchIoWrapper.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.vxPlayerProfileItchIoWrapper.ShareImage | ( | string | path, |
string | extratxt = "" ) |
Shares an image. This is only supported on Mobile currently.
path | |
extratxt |
Implements VerticesEngine.Profile.vxIPlayerProfile.
void VerticesEngine.Profile.vxPlayerProfileItchIoWrapper.SignIn | ( | ) |
Signs the user in.
true
, if in was signed, false
otherwise.Implements VerticesEngine.Profile.vxIPlayerProfile.
void VerticesEngine.Profile.vxPlayerProfileItchIoWrapper.SignOut | ( | ) |
Signs the user out.
true
, if out was signed, false
otherwise.Implements VerticesEngine.Profile.vxIPlayerProfile.
void VerticesEngine.Profile.vxPlayerProfileItchIoWrapper.SubmitLeaderboardScore | ( | string | id, |
long | score ) |
Submits a leaderboard score for this platform.
id | |
score |
Implements VerticesEngine.Profile.vxIPlayerProfile.
void VerticesEngine.Profile.vxPlayerProfileItchIoWrapper.UnlockAchievement | ( | object | key | ) |
void VerticesEngine.Profile.vxPlayerProfileItchIoWrapper.Update | ( | ) |
Runs callbacks for platform wrapper.
Implements VerticesEngine.Profile.vxIPlayerProfile.
void VerticesEngine.Profile.vxPlayerProfileItchIoWrapper.ViewAchievments | ( | ) |
View achievements for this platform.
Implements VerticesEngine.Profile.vxIPlayerProfile.
void VerticesEngine.Profile.vxPlayerProfileItchIoWrapper.ViewAllLeaderboards | ( | ) |
Views all leaderboards for this platform.
Implements VerticesEngine.Profile.vxIPlayerProfile.
void VerticesEngine.Profile.vxPlayerProfileItchIoWrapper.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.