---@enum EFastArraySerializerDeltaFlags
local EFastArraySerializerDeltaFlags = {
    None = 0,
    HasBeenSerialized = 1,
    HasDeltaBeenRequested = 2,
    IsUsingDeltaSerialization = 4,
    EFastArraySerializerDeltaFlags_MAX = 5,
}

---@enum ENetCloseResult
local ENetCloseResult = {
    NetDriverAlreadyExists = 0,
    NetDriverCreateFailure = 1,
    NetDriverListenFailure = 2,
    ConnectionLost = 3,
    ConnectionTimeout = 4,
    FailureReceived = 5,
    OutdatedClient = 6,
    OutdatedServer = 7,
    PendingConnectionFailure = 8,
    NetGuidMismatch = 9,
    NetChecksumMismatch = 10,
    SecurityMalformedPacket = 11,
    SecurityInvalidData = 12,
    SecurityClosed = 13,
    Unknown = 14,
    Success = 15,
    Extended = 16,
    HostClosedConnection = 17,
    Disconnect = 18,
    Upgrade = 19,
    PreLoginFailure = 20,
    JoinFailure = 21,
    JoinSplitFailure = 22,
    AddressResolutionFailed = 23,
    RPCDoS = 24,
    Cleanup = 25,
    MissingLevelPackage = 26,
    PacketHandlerIncomingError = 27,
    ZeroLastByte = 28,
    ZeroSize = 29,
    ReadHeaderFail = 30,
    ReadHeaderExtraFail = 31,
    AckSequenceMismatch = 32,
    BunchBadChannelIndex = 33,
    BunchChannelNameFail = 34,
    BunchWrongChannelType = 35,
    BunchHeaderOverflow = 36,
    BunchDataOverflow = 37,
    BunchServerPackageMapExports = 38,
    BunchPrematureControlChannel = 39,
    BunchPrematureChannel = 40,
    BunchPrematureControlClose = 41,
    UnknownChannelType = 42,
    PrematureSend = 43,
    CorruptData = 44,
    SocketSendFailure = 45,
    BadChildConnectionIndex = 46,
    LogLimitInstant = 47,
    LogLimitSustained = 48,
    EncryptionFailure = 49,
    EncryptionTokenMissing = 50,
    ReceivedNetGUIDBunchFail = 51,
    ReceivedNetExtBunchFail = 52,
    MaxReliableExceeded = 53,
    ReceivedNextBunchFail = 54,
    ReceivedNextBunchQueueFail = 55,
    PartialInitialReliableDestroy = 56,
    PartialMergeReliableDestroy = 57,
    PartialInitialNonByteAligned = 58,
    PartialNonByteAligned = 59,
    PartialFinalPackageMapExports = 60,
    PartialTooLarge = 61,
    AlreadyOpen = 62,
    ReliableBeforeOpen = 63,
    ReliableBufferOverflow = 64,
    RPCReliableBufferOverflow = 65,
    ControlChannelClose = 66,
    ControlChannelEndianCheck = 67,
    ControlChannelPlayerChannelFail = 68,
    ControlChannelMessageUnknown = 69,
    ControlChannelMessageFail = 70,
    ControlChannelMessagePayloadFail = 71,
    ControlChannelBunchOverflowed = 72,
    ControlChannelQueueBunchOverflowed = 73,
    ClientHasMustBeMappedGUIDs = 74,
    ClientSentDestructionInfo = 75,
    UnregisteredMustBeMappedGUID = 76,
    ObjectReplicatorReceivedBunchFail = 77,
    ContentBlockFail = 78,
    ContentBlockHeaderRepLayoutFail = 79,
    ContentBlockHeaderIsActorFail = 80,
    ContentBlockHeaderObjFail = 81,
    ContentBlockHeaderPrematureEnd = 82,
    ContentBlockHeaderSubObjectActor = 83,
    ContentBlockHeaderBadParent = 84,
    ContentBlockHeaderInvalidCreate = 85,
    ContentBlockHeaderStablyNamedFail = 86,
    ContentBlockHeaderNoSubObjectClass = 87,
    ContentBlockHeaderUObjectSubObject = 88,
    ContentBlockHeaderAActorSubObject = 89,
    ContentBlockHeaderFail = 90,
    ContentBlockPayloadBitsFail = 91,
    FieldHeaderRepIndex = 92,
    FieldHeaderBadRepIndex = 93,
    FieldHeaderPayloadBitsFail = 94,
    FieldPayloadFail = 95,
    ReplicationChannelCountMaxedOut = 96,
    BeaconControlFlowError = 97,
    BeaconUnableToParsePacket = 98,
    BeaconAuthenticationFailure = 99,
    BeaconLoginInvalidIdError = 100,
    BeaconLoginInvalidAuthHandlerError = 101,
    BeaconAuthError = 102,
    BeaconSpawnClientWorldPackageNameError = 103,
    BeaconSpawnExistingActorError = 104,
    BeaconSpawnFailureError = 105,
    BeaconSpawnNetGUIDAckNoActor = 106,
    BeaconSpawnNetGUIDAckNoHost = 107,
    BeaconSpawnUnexpectedError = 108,
    IrisProtocolMismatch = 109,
    IrisNetRefHandleError = 110,
    FaultDisconnect = 111,
    NotRecoverable = 112,
    ENetCloseResult_MAX = 113,
}

---@enum ENetworkFailure
local ENetworkFailure = {
    NetDriverAlreadyExists = 0,
    NetDriverCreateFailure = 1,
    NetDriverListenFailure = 2,
    ConnectionLost = 3,
    ConnectionTimeout = 4,
    FailureReceived = 5,
    OutdatedClient = 6,
    OutdatedServer = 7,
    PendingConnectionFailure = 8,
    NetGuidMismatch = 9,
    NetChecksumMismatch = 10,
    ENetworkFailure_MAX = 11,
}

---@enum EReplicationSystem
local EReplicationSystem = {
    Default = 0,
    Generic = 1,
    Iris = 2,
    EReplicationSystem_MAX = 3,
}

