#pragma once #include "CoreMinimal.h" /** * Opaque handle returned by the registration calls of the core seams (sim steps, dry volumes, stream focus). * Keep it, and pass it back to the matching Unregister call when the system goes away before the world does. * Id 0 is "not registered". */ struct FDescentHandle { uint32 Id = 0; bool IsValid() const { return Id != 0; } void Reset() { Id = 0; } friend bool operator==(const FDescentHandle& A, const FDescentHandle& B) { return A.Id == B.Id; } friend bool operator!=(const FDescentHandle& A, const FDescentHandle& B) { return A.Id != B.Id; } };