diff --git a/altv_sdk/cpp-sdk b/altv_sdk/cpp-sdk index fd5af70c..83450060 160000 --- a/altv_sdk/cpp-sdk +++ b/altv_sdk/cpp-sdk @@ -1 +1 @@ -Subproject commit fd5af70c9e351cfa6aaa3489f92b51b1769afee2 +Subproject commit 834500603d05c0cf6dd289739237f99370855abc diff --git a/altv_sdk/cpp-sdk-version.h b/altv_sdk/cpp-sdk-version.h index 52099288..4c1defbe 100644 --- a/altv_sdk/cpp-sdk-version.h +++ b/altv_sdk/cpp-sdk-version.h @@ -1,3 +1,3 @@ #pragma once -#define ALT_SDK_VERSION "fd5af70" +#define ALT_SDK_VERSION "8345006" diff --git a/test/rust_resource/src/base_object_funcs.rs b/test/rust_resource/src/base_object_funcs.rs index b1df37f0..38d205dc 100644 --- a/test/rust_resource/src/base_object_funcs.rs +++ b/test/rust_resource/src/base_object_funcs.rs @@ -15,7 +15,7 @@ pub(crate) fn test_base_object_funcs() { } fn all() { - let orig_marker = altv::Marker::new(altv::MarkerType::Markerarrow, 0, 0); + let orig_marker = altv::Marker::new(altv::MarkerType::MarkerArrow, 0, 0); let marker_at = |idx: usize| { let objects = altv::base_object::all(); @@ -30,14 +30,14 @@ fn all() { dbg!(m.id().unwrap(), orig_marker.id().unwrap()); assert_eq!(m, orig_marker); - let orig_marker2 = altv::Marker::new(altv::MarkerType::Markerarrow, 0, 0); + let orig_marker2 = altv::Marker::new(altv::MarkerType::MarkerArrow, 0, 0); dbg!(m.id().unwrap(), orig_marker2.id().unwrap()); assert_ne!(m, orig_marker2); } fn get_by_id() { - let orig_marker = altv::Marker::new(altv::MarkerType::Markerarrow, 0, 0); + let orig_marker = altv::Marker::new(altv::MarkerType::MarkerArrow, 0, 0); let id = dbg!(orig_marker.id()).unwrap(); let obj = altv::base_object::get_by_id(BaseObjectType::Marker, id); let marker = assert_marker(obj); @@ -85,9 +85,9 @@ fn assert_marker(obj: Option) -> altv::MarkerContainer { fn all_count() { assert_eq!(dbg!(altv::base_object::all_count()), 0); - altv::Marker::new(altv::MarkerType::Markerarrow, 0, 0); - altv::Marker::new(altv::MarkerType::Markerarrow, 0, 0); - altv::Marker::new(altv::MarkerType::Markerarrow, 0, 0); + altv::Marker::new(altv::MarkerType::MarkerArrow, 0, 0); + altv::Marker::new(altv::MarkerType::MarkerArrow, 0, 0); + altv::Marker::new(altv::MarkerType::MarkerArrow, 0, 0); assert_eq!(dbg!(altv::base_object::all_count()), 3); } diff --git a/test/rust_resource/src/base_object_pool_funcs.rs b/test/rust_resource/src/base_object_pool_funcs.rs index c7a9325b..b9ef71bc 100644 --- a/test/rust_resource/src/base_object_pool_funcs.rs +++ b/test/rust_resource/src/base_object_pool_funcs.rs @@ -24,7 +24,7 @@ pub(crate) fn test_base_object_pool_funcs() { } fn get_by_id() { - let marker = altv::Marker::new(altv::MarkerType::Markerlap, 0, 0); + let marker = altv::Marker::new(altv::MarkerType::MarkerArrow, 0, 0); let id = dbg!(marker.id()).unwrap(); dbg!(altv::Marker::get_by_id(id).unwrap());