// Copyright (c) 2024 Codemongous LLC. All Rights Reserved.

#pragma once
#include "ISCW_FObjectPropertyBase.h"

#include <memory>
#include <string>

using std::shared_ptr;
using std::wstring;

namespace Sourcify
{	
	class ISCW_UObject;

	class ISCW_FObjectProperty : public virtual ISCW_FObjectPropertyBase
	{
	public:
		virtual ~ISCW_FObjectProperty() = default;

		virtual shared_ptr<ISCW_UObject> GetObjectPropertyValue_InContainer(shared_ptr<const ISCW_UObject> ContainerAddress, int32_t ArrayIndex = 0) const = 0;

		virtual shared_ptr<ISCW_UObject> GetPropertyValue_InContainer(shared_ptr<const ISCW_UObject> ContainerAddress, int32_t ArrayIndex = 0) const = 0;

		virtual void SetPropertyValue_InContainer(shared_ptr<ISCW_UObject> A, shared_ptr<const ISCW_UObject> Value, int32_t ArrayIndex = 0) const = 0;
	};

	using ISCW_FObjectPropertyConstPtr = shared_ptr<const ISCW_FObjectProperty>;
	using ISCW_FObjectPropertyPtr = shared_ptr<ISCW_FObjectProperty>;
} // namespace Sourcify