// Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
// Including type: IMultiplayerObservable
#include "GlobalNamespace/IMultiplayerObservable.hpp"
#include "extern/beatsaber-hook/shared/utils/il2cpp-utils-methods.hpp"
#include "extern/beatsaber-hook/shared/utils/il2cpp-utils-properties.hpp"
#include "extern/beatsaber-hook/shared/utils/il2cpp-utils-fields.hpp"
#include "extern/beatsaber-hook/shared/utils/utils.h"
// Completed includes
// Begin forward declares
// Forward declaring namespace: GlobalNamespace
namespace GlobalNamespace {
  // Forward declaring type: IMultiplayerSessionManager
  class IMultiplayerSessionManager;
}
// Completed forward declares
// Type namespace: 
namespace GlobalNamespace {
  // Size: 0x20
  #pragma pack(push, 1)
  // Autogenerated type: MultiplayerActivePlayersTimeOffsetAverage
  class MultiplayerActivePlayersTimeOffsetAverage : public ::Il2CppObject/*, public GlobalNamespace::IMultiplayerObservable*/ {
    public:
    // [InjectAttribute] Offset: 0xE1DBB8
    // private readonly IMultiplayerSessionManager _multiplayerSessionManager
    // Size: 0x8
    // Offset: 0x10
    GlobalNamespace::IMultiplayerSessionManager* multiplayerSessionManager;
    // Field size check
    static_assert(sizeof(GlobalNamespace::IMultiplayerSessionManager*) == 0x8);
    // private System.Single _lastReturnedOffsetSyncTime
    // Size: 0x4
    // Offset: 0x18
    float lastReturnedOffsetSyncTime;
    // Field size check
    static_assert(sizeof(float) == 0x4);
    // private System.Single _timeOfLastValidReturnedTime
    // Size: 0x4
    // Offset: 0x1C
    float timeOfLastValidReturnedTime;
    // Field size check
    static_assert(sizeof(float) == 0x4);
    // Creating value type constructor for type: MultiplayerActivePlayersTimeOffsetAverage
    MultiplayerActivePlayersTimeOffsetAverage(GlobalNamespace::IMultiplayerSessionManager* multiplayerSessionManager_ = {}, float lastReturnedOffsetSyncTime_ = {}, float timeOfLastValidReturnedTime_ = {}) noexcept : multiplayerSessionManager{multiplayerSessionManager_}, lastReturnedOffsetSyncTime{lastReturnedOffsetSyncTime_}, timeOfLastValidReturnedTime{timeOfLastValidReturnedTime_} {}
    // Creating interface conversion operator: operator GlobalNamespace::IMultiplayerObservable
    operator GlobalNamespace::IMultiplayerObservable() noexcept {
      return *reinterpret_cast<GlobalNamespace::IMultiplayerObservable*>(this);
    }
    // public System.Single get_offsetSyncTime()
    // Offset: 0x113FBF4
    float get_offsetSyncTime();
    // public System.Boolean get_isFailed()
    // Offset: 0x113FE1C
    bool get_isFailed();
    // public System.Void .ctor()
    // Offset: 0x113FF7C
    // Implemented from: System.Object
    // Base method: System.Void Object::.ctor()
    template<::il2cpp_utils::CreationType creationType = ::il2cpp_utils::CreationType::Temporary>
    static MultiplayerActivePlayersTimeOffsetAverage* New_ctor() {
      static auto ___internal__logger = ::Logger::get().WithContext("GlobalNamespace::MultiplayerActivePlayersTimeOffsetAverage::.ctor");
      return THROW_UNLESS((::il2cpp_utils::New<MultiplayerActivePlayersTimeOffsetAverage*, creationType>()));
    }
  }; // MultiplayerActivePlayersTimeOffsetAverage
  #pragma pack(pop)
  static check_size<sizeof(MultiplayerActivePlayersTimeOffsetAverage), 28 + sizeof(float)> __GlobalNamespace_MultiplayerActivePlayersTimeOffsetAverageSizeCheck;
  static_assert(sizeof(MultiplayerActivePlayersTimeOffsetAverage) == 0x20);
}
DEFINE_IL2CPP_ARG_TYPE(GlobalNamespace::MultiplayerActivePlayersTimeOffsetAverage*, "", "MultiplayerActivePlayersTimeOffsetAverage");
