Difference between revisions of "X360CoreClass"

From Alpha Archive Wiki
Jump to navigation Jump to search
(Created page with "==Description== Core Xbox 360 services. ==Static Variables== {| class="wikitable" |- ! Variable !! String !! Type !! Description |- | OnControllerStateChange || Example || Ex...")
 
Line 17: Line 17:
  
 
==Static Functions==
 
==Static Functions==
DebugConfigureForcedSwap DEBUG: Configure forced swap (TCR 022).
+
{| class="wikitable"
DebugEnableD3DBlockCallback DEBUG: Enable D3D block callback.
+
|-
DebugGetGCMemorySize DEBUG: Get garbage collected memory size.
+
! Variable !! String !! Type !! Description
DebugGetGCMemoryUsed DEBUG: Get garbage collected memory used.
+
|-
EnableNuiSystemDialogMode Enables Natural User Interface mode for system dialogs. No effect if Kinect is disabled.
+
| DebugConfigureForcedSwap || Example || Example || DEBUG: Configure forced swap (TCR 022).
EnablePersistDisplayOnQuit Persist last rendered frame on quit.
+
|-
GetPlayerGamerPicture Gets the gamer picture of any player.
+
| DebugEnableD3DBlockCallback || Example || Example || DEBUG: Enable D3D block callback.
GetRawTexture Gets a pointer to IDirect3DBaseTexture9 for a given texture.
+
|-
GetTotalOnlineUsers Gets the total number of users currently signed in with Live! connectivity.
+
| DebugGetGCMemorySize || Example || Example || DEBUG: Get garbage collected memory size.
GetTotalSignedInUsers Gets the total number of users currently signed in.
+
|-
GetUserGamerPicture Gets the gamer picture of a local user.
+
| DebugGetGCMemoryUsed || Example || Example || DEBUG: Get garbage collected memory used.
GetUserLocalPlayerId Gets the local player id of a signed in user.
+
|-
GetUserName Gets the local user name.
+
| EnableNuiSystemDialogMode || Example || Example || Enables Natural User Interface mode for system dialogs. No effect if Kinect is disabled.
GetUserOnlinePlayerId Gets the online player id of a signed in user.
+
|-
GetUserPrivilegeLevel Gets the privilege level of a local user.
+
| EnablePersistDisplayOnQuit || Example || Example || Persist last rendered frame on quit.
IsSystemUIVisible Checks if system UI is visible.
+
|-
IsUserSignedIn Checks if user is signed in.
+
| GetPlayerGamerPicture || Example || Example || Gets the gamer picture of any player.
RequestSignIn Shows the sign-in dialog if the number of currently signed-in players is not within the specified range.
+
|-
SetControllerVibration Enable controller vibration.
+
| GetRawTexture || Example || Example || Gets a pointer to IDirect3DBaseTexture9 for a given texture.
SetNuiSystemDialogTrackingId Sets the skeleton tracking id of the locally signed-in player who will be in control of the dialogs.
+
|-
SetProcessorAffinity Sets the cpu processor affinity for the current thread.
+
| GetTotalOnlineUsers || Example || Example || Gets the total number of users currently signed in with Live! connectivity.
ShowGamerCard Displays a gamer card.
+
|-
UserAwardGamerPicture Awards the user with a gamer picture.
+
| GetTotalSignedInUsers || Example || Example || Gets the total number of users currently signed in.
 +
|-
 +
| GetUserGamerPicture || Example || Example || Gets the gamer picture of a local user.
 +
|-
 +
| GetUserLocalPlayerId || Example || Example || Gets the local player id of a signed in user.
 +
|-
 +
| GetUserName || Example || Example || Gets the local user name.
 +
|-
 +
| GetUserOnlinePlayerId || Example || Example || Gets the online player id of a signed in user.
 +
|-
 +
| GetUserPrivilegeLevel || Example || Example || Gets the privilege level of a local user.
 +
|-
 +
| IsSystemUIVisible || Example || Example || Checks if system UI is visible.
 +
|-
 +
| IsUserSignedIn || Example || Example || Checks if user is signed in.
 +
|-
 +
| RequestSignIn || Example || Example || Shows the sign-in dialog if the number of currently signed-in players is not within the specified range.
 +
|-
 +
| SetControllerVibration || Example || Example || Enable controller vibration.
 +
|-
 +
| SetNuiSystemDialogTrackingId || Example || Example || Sets the skeleton tracking id of the locally signed-in player who will be in control of the dialogs.
 +
|-
 +
| SetProcessorAffinity || Example || Example || Sets the cpu processor affinity for the current thread.
 +
|-
 +
| ShowGamerCard || Example || Example || Displays a gamer card.
 +
|-
 +
| UserAwardGamerPicture || Example || Example || Awards the user with a gamer picture.
 +
|}
  
 
==Delegates==
 
==Delegates==
 
BasicDelegate X360Core delegate type.
 
BasicDelegate X360Core delegate type.
 
BasicDelegateController X360Core delegate type.
 
BasicDelegateController X360Core delegate type.

Revision as of 06:04, 8 June 2020

Description

Core Xbox 360 services.

Static Variables

Variable String Type Description
OnControllerStateChange Example Example Callback activated if a controller is connected or disconnected.
OnQuit Example Example Callback activated right before the application terminates.
OnSystemUIVisibilityChange Example Example Callback activated when system UI is shown or hidden.
OnUserStateChange Example Example Callback activated if a user signs in or signs out.

Static Functions

Variable String Type Description
DebugConfigureForcedSwap Example Example DEBUG: Configure forced swap (TCR 022).
DebugEnableD3DBlockCallback Example Example DEBUG: Enable D3D block callback.
DebugGetGCMemorySize Example Example DEBUG: Get garbage collected memory size.
DebugGetGCMemoryUsed Example Example DEBUG: Get garbage collected memory used.
EnableNuiSystemDialogMode Example Example Enables Natural User Interface mode for system dialogs. No effect if Kinect is disabled.
EnablePersistDisplayOnQuit Example Example Persist last rendered frame on quit.
GetPlayerGamerPicture Example Example Gets the gamer picture of any player.
GetRawTexture Example Example Gets a pointer to IDirect3DBaseTexture9 for a given texture.
GetTotalOnlineUsers Example Example Gets the total number of users currently signed in with Live! connectivity.
GetTotalSignedInUsers Example Example Gets the total number of users currently signed in.
GetUserGamerPicture Example Example Gets the gamer picture of a local user.
GetUserLocalPlayerId Example Example Gets the local player id of a signed in user.
GetUserName Example Example Gets the local user name.
GetUserOnlinePlayerId Example Example Gets the online player id of a signed in user.
GetUserPrivilegeLevel Example Example Gets the privilege level of a local user.
IsSystemUIVisible Example Example Checks if system UI is visible.
IsUserSignedIn Example Example Checks if user is signed in.
RequestSignIn Example Example Shows the sign-in dialog if the number of currently signed-in players is not within the specified range.
SetControllerVibration Example Example Enable controller vibration.
SetNuiSystemDialogTrackingId Example Example Sets the skeleton tracking id of the locally signed-in player who will be in control of the dialogs.
SetProcessorAffinity Example Example Sets the cpu processor affinity for the current thread.
ShowGamerCard Example Example Displays a gamer card.
UserAwardGamerPicture Example Example Awards the user with a gamer picture.

Delegates

BasicDelegate X360Core delegate type. BasicDelegateController X360Core delegate type.