> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XGameInvite (deprecated)

> XGameInvite (deprecated)

# XGameInvite (deprecated)

<Info>XGameInvite API 现已弃用。请改用 [XGameActivation](/reference/system/xgameactivation/xgameactivation_members) API。有关迁移指南，请参阅 [XGameActivation](/reference/system/xgameactivation/xgameactivation_members#remarks)。</Info>

XGameInvite API 参考资料。

## Functions

| Function                                                                                               | Description       |
| ------------------------------------------------------------------------------------------------------ | ----------------- |
| [XGameInviteEventCallback](/reference/system/xgameinvite/functions/xgameinviteeventcallback)           | 应用程序为游戏邀请事件定义的回调。 |
| [XGameInviteRegisterForEvent](/reference/system/xgameinvite/functions/xgameinviteregisterforevent)     | 为游戏邀请事件注册回调。      |
| [XGameInviteUnregisterForEvent](/reference/system/xgameinvite/functions/xgameinviteunregisterforevent) | 取消注册游戏邀请事件的回调。    |

## Conceptual documentation

* [时间敏感型线程](https://learn.microsoft.com/gaming/gdk/docs/gdk-dev/console-dev/overviews/threads/time-sensitive-threads)
* [在 Unity 项目中为 GDK API 使用 C# 包装器](https://learn.microsoft.com/gaming/gdk/docs/gdk-dev/pc-dev/tutorials/get-started-with-unity-pc/features/gdk-unity-api-wrappers)

## See also

[系统 API 参考](/reference/system/gc-reference-system-toc)


## Related topics

- [XGameInviteEventCallback (deprecated)](/zh-CN/reference/system/xgameinvite/functions/xgameinviteeventcallback.md)
- [XGameInviteUnregisterForEvent (deprecated)](/zh-CN/reference/system/xgameinvite/functions/xgameinviteunregisterforevent.md)
- [XGameInviteRegisterForEvent (deprecated)](/zh-CN/reference/system/xgameinvite/functions/xgameinviteregisterforevent.md)
- [XGameActivation](/zh-CN/reference/system/xgameactivation/xgameactivation_members.md)
- [XGameProtocolUnregisterForActivation (deprecated)](/zh-CN/reference/system/xgameprotocol/functions/xgameprotocolunregisterforactivation.md)
