Skip to content

Commit

Permalink
ci: maintenance 2023-10-22
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 22, 2023
1 parent 696a6c0 commit 39fa9b4
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions CommonLibSF/include/RE/E/ExtraDataList.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ namespace RE

private:
// members
BSExtraData* _head{}; // 00
BSExtraData* _head{}; // 00
BSExtraData** _tail{ std::addressof(_head) }; // 08
std::uint8_t* _flags{}; // 10
std::uint8_t* _flags{}; // 10
};
static_assert(sizeof(BaseExtraList) == 0x18);

Expand Down
20 changes: 10 additions & 10 deletions CommonLibSF/include/RE/V/Variable.h
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ namespace RE::BSScript
{
public:
template <class T>
[[nodiscard]] static auto&& get_raw(T&& a_var)
[[nodiscard]] static auto&& get_raw(T&& a_var)
requires(std::same_as<std::remove_cvref_t<T>, Variable>)
{
return std::forward<T>(a_var).value;
Expand All @@ -247,71 +247,71 @@ namespace RE::BSScript
}

template <class T>
[[nodiscard]] BSTSmartPointer<Object> get(const Variable& a_var)
[[nodiscard]] BSTSmartPointer<Object> get(const Variable& a_var)
requires(std::same_as<T, Object>)
{
assert(a_var.is<Object>());
return detail::variable_raw_accessor::get_raw(a_var).o;
}

template <class T>
[[nodiscard]] BSFixedString get(const Variable& a_var)
[[nodiscard]] BSFixedString get(const Variable& a_var)
requires(std::same_as<T, BSFixedString>)
{
assert(a_var.is<BSFixedString>());
return detail::variable_raw_accessor::get_raw(a_var).s;
}

template <class T>
[[nodiscard]] std::uint32_t get(const Variable& a_var)
[[nodiscard]] std::uint32_t get(const Variable& a_var)
requires(std::same_as<T, std::uint32_t>)
{
assert(a_var.is<std::uint32_t>());
return detail::variable_raw_accessor::get_raw(a_var).u;
}

template <class T>
[[nodiscard]] std::int32_t get(const Variable& a_var)
[[nodiscard]] std::int32_t get(const Variable& a_var)
requires(std::same_as<T, std::int32_t>)
{
assert(a_var.is<std::int32_t>());
return detail::variable_raw_accessor::get_raw(a_var).i;
}

template <class T>
[[nodiscard]] float get(const Variable& a_var)
[[nodiscard]] float get(const Variable& a_var)
requires(std::same_as<T, float>)
{
assert(a_var.is<float>());
return detail::variable_raw_accessor::get_raw(a_var).f;
}

template <class T>
[[nodiscard]] bool get(const Variable& a_var)
[[nodiscard]] bool get(const Variable& a_var)
requires(std::same_as<T, bool>)
{
assert(a_var.is<bool>());
return detail::variable_raw_accessor::get_raw(a_var).b;
}

template <class T>
[[nodiscard]] stl::observer<Variable*> get(const Variable& a_var)
[[nodiscard]] stl::observer<Variable*> get(const Variable& a_var)
requires(std::same_as<T, Variable>)
{
assert(a_var.is<Variable>());
return detail::variable_raw_accessor::get_raw(a_var).v;
}

template <class T>
[[nodiscard]] BSTSmartPointer<Struct> get(const Variable& a_var)
[[nodiscard]] BSTSmartPointer<Struct> get(const Variable& a_var)
requires(std::same_as<T, Struct>)
{
assert(a_var.is<Struct>());
return detail::variable_raw_accessor::get_raw(a_var).t;
}

template <class T>
[[nodiscard]] BSTSmartPointer<Array> get(const Variable& a_var)
[[nodiscard]] BSTSmartPointer<Array> get(const Variable& a_var)
requires(std::same_as<T, Array>)
{
assert(a_var.is<Array>());
Expand Down
2 changes: 1 addition & 1 deletion CommonLibSF/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
"name": "commonlibsf",
"version-date": "2023-10-21.4",
"version-date": "2023-10-22",
"port-version": 0,
"description": "A collaborative reverse-engineered library for Starfield.",
"homepage": "https://github.com/Starfield-Reverse-Engineering/CommonLibSF",
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[![C++23](https://img.shields.io/static/v1?label=standard&message=c%2B%2B23&color=blue&logo=c%2B%2B&&logoColor=red&style=flat)](https://en.cppreference.com/w/cpp/compiler_support)
![Platform](https://img.shields.io/static/v1?label=platform&message=windows&color=dimgray&style=flat&logo=windows)
[![Game version](https://img.shields.io/badge/game%20version-1.7.36-orange)](#Developing-with-CommonLibSF)
[![VCPKG_VER](https://img.shields.io/static/v1?label=vcpkg%20registry&message=2023-10-21.4&color=green&style=flat)](https://github.com/Starfield-Reverse-Engineering/Starfield-RE-vcpkg)
[![VCPKG_VER](https://img.shields.io/static/v1?label=vcpkg%20registry&message=2023-10-22&color=green&style=flat)](https://github.com/Starfield-Reverse-Engineering/Starfield-RE-vcpkg)
[![Main CI](https://img.shields.io/github/actions/workflow/status/Starfield-Reverse-Engineering/CommonLibSF/main_ci.yml)](https://github.com/Starfield-Reverse-Engineering/CommonLibSF/actions/workflows/main_ci.yml)

## Build Dependencies
Expand Down

0 comments on commit 39fa9b4

Please sign in to comment.