Skip to content

Sein Player ID

Struct · FSeinPlayerID

#include "Core/SeinPlayerID.h"

deterministic: safe in simulation code

Type-safe player identifier. Uses uint8 under the hood for compactness, but provides a distinct type for clarity and safety. Player ID 0 is reserved for “neutral” or “no player”.

Valid player IDs start from 1.

uint8 Value

Blueprint read-only

Player ID value. 0 is reserved for “neutral” or “no player”.

Valid player IDs start from 1.

C++ members (7)
  • static FSeinPlayerID Neutral();
  • bool IsValid() const;
  • bool IsNeutral() const;
  • bool operator==(const FSeinPlayerID& Other) const;
  • bool operator!=(const FSeinPlayerID& Other) const;
  • bool operator<(const FSeinPlayerID& Other) const;
  • FString ToString() const;