|
WjWorld
|
#include <WjWorldGameStateLobby.h>
Public Member Functions | |
| AWjWorldGameStateLobby () | |
| virtual void | GetLifetimeReplicatedProps (TArray< FLifetimeProperty > &OutLifetimeProps) const override |
| void | AddPlacedObject (const FPlacedObjectSaveEntry &Entry) |
| void | RemovePlacedObjectAt (int32 Index) |
| void | SetPlacedObjects (const TArray< FPlacedObjectSaveEntry > &InPlacedObjects) |
| void | ClearPlacedObjects () |
| const TArray< FPlacedObjectSaveEntry > & | GetPlacedObjects () const |
| int32 | GetPlacedObjectCount () const |
| void | SetCatalog (UWjWorldPlaceableObjectDataAsset *InCatalog) |
| UWjWorldPlaceableObjectDataAsset * | GetCatalog () const |
Public Attributes | |
| FOnPlacementDataChanged | OnPlacementDataChanged |
Protected Member Functions | |
| void | OnRep_PlacedObjects () |
Protected Attributes | |
| TArray< FPlacedObjectSaveEntry > | PlacedObjects |
로비 게임 상태 배치 데이터 리플리케이션을 담당
| AWjWorldGameStateLobby::AWjWorldGameStateLobby | ( | ) |
| void AWjWorldGameStateLobby::AddPlacedObject | ( | const FPlacedObjectSaveEntry & | Entry | ) |
배치 오브젝트 추가 (서버에서 호출)
| void AWjWorldGameStateLobby::ClearPlacedObjects | ( | ) |
배치 데이터 전체 클리어 (서버에서 호출)
|
inline |
|
overridevirtual |
Reimplemented in AWjWorldGameStateWaitingRoom.
|
inline |
|
inline |
|
protected |
| void AWjWorldGameStateLobby::RemovePlacedObjectAt | ( | int32 | Index | ) |
배치 오브젝트 제거 (서버에서 호출)
|
inline |
| void AWjWorldGameStateLobby::SetPlacedObjects | ( | const TArray< FPlacedObjectSaveEntry > & | InPlacedObjects | ) |
전체 배치 데이터 설정 (서버에서 호출, 초기 로드 시)
| FOnPlacementDataChanged AWjWorldGameStateLobby::OnPlacementDataChanged |
배치 데이터 변경 시 (클라이언트에서 오브젝트 재스폰용)
|
protected |
리플리케이트되는 배치 데이터