> ## 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.

# PFLobbyStateChange

> PlayFab Multiplayer Lobby ライブラリによって配信されるイベントまたは状態変更を表す汎用のベース構造体です。特定の派生した変更をディスパッチするために使用されます。

Lobby ライブラリでのイベントまたは状態変更を表す、汎用のベース構造体です。

## 構文

```cpp theme={null}
struct PFLobbyStateChange {  
    PFLobbyStateChangeType stateChangeType;  
}  
```

### メンバー

**`stateChangeType`**   [PFLobbyStateChangeType](/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/enums/pflobbystatechangetype)

表される状態変更の具体的な型です。

このフィールドを使用して、この PFLobbyStateChange 構造体のヘッダーが表す対応の派生構造体を判別します。

## 解説

PFLobbyStateChange 構造体は、[PFMultiplayerStartProcessingLobbyStateChanges()](/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/functions/pfmultiplayerstartprocessinglobbystatechanges) によってタイトルが処理するためにレポートされ、その後、速やかに [PFMultiplayerFinishProcessingLobbyStateChanges()](/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/functions/pfmultiplayerfinishprocessinglobbystatechanges) メソッドを介して戻します。<br /><br /> `stateChangeType` フィールドは、どの種類の状態変更が発生したかを示します。その後、このベース構造体をより具体的な派生構造体にキャストして、イベント固有の追加情報を取得する必要があります。

## 要件

**ヘッダー:** PFLobby.h

## 関連項目

[PFLobby のメンバー](/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/pflobby_members)\
[PFMultiplayerStartProcessingLobbyStateChanges](/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/functions/pfmultiplayerstartprocessinglobbystatechanges)\
[PFMultiplayerFinishProcessingLobbyStateChanges](/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/functions/pfmultiplayerfinishprocessinglobbystatechanges)


## Related topics

- [PFLobbyStateChangeType](/ja-jp/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/enums/pflobbystatechangetype.md)
- [PFMultiplayerStartProcessingLobbyStateChanges](/ja-jp/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/functions/pfmultiplayerstartprocessinglobbystatechanges.md)
- [PFMultiplayerFinishProcessingLobbyStateChanges](/ja-jp/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/functions/pfmultiplayerfinishprocessinglobbystatechanges.md)
- [非同期 Lobby and Matchmaking C++ SDK 操作ガイド](/ja-jp/services/playfab/multiplayer/lobby/lobby-and-matchmaking-client-sdk-async.md)
- [PFMultiplayer C/C++ API 概要 - PFLobby.h](/ja-jp/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/pflobby_members.md)
