Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] <@200677690838220800> Do you know the proper struct name of DynamicUF in client?

[DiscordArchive] <@200677690838220800> Do you know the proper struct name of DynamicUF in client?

[DiscordArchive] <@200677690838220800> Do you know the proper struct name of DynamicUF in client?

Pages (5): Previous 1 2 3 4 5 Next
rektbyfaith
Administrator
0
01-03-2025, 10:56 AM
#31
Archived author: Tea • Posted: 2025-01-03T10:56:56.234000+00:00
Original source

yes, if size > 1 its exactly the same as blz::vector
rektbyfaith
01-03-2025, 10:56 AM #31

Archived author: Tea • Posted: 2025-01-03T10:56:56.234000+00:00
Original source

yes, if size > 1 its exactly the same as blz::vector

rektbyfaith
Administrator
0
01-03-2025, 10:57 AM
#32
Archived author: MaxtorCoder • Posted: 2025-01-03T10:57:02.540000+00:00
Original source

Ah
rektbyfaith
01-03-2025, 10:57 AM #32

Archived author: MaxtorCoder • Posted: 2025-01-03T10:57:02.540000+00:00
Original source

Ah

rektbyfaith
Administrator
0
01-03-2025, 10:57 AM
#33
Archived author: Tea • Posted: 2025-01-03T10:57:03.342000+00:00
Original source

in fact its implemented with blz::vector
rektbyfaith
01-03-2025, 10:57 AM #33

Archived author: Tea • Posted: 2025-01-03T10:57:03.342000+00:00
Original source

in fact its implemented with blz::vector

rektbyfaith
Administrator
0
01-03-2025, 10:58 AM
#34
Archived author: MaxtorCoder • Posted: 2025-01-03T10:58:04.863000+00:00
Original source

Isn't it just like a blz::fixed_vector then? Or whatever the name of the struct is when `m_capacity_is_embedded` is set in blz::vector
rektbyfaith
01-03-2025, 10:58 AM #34

Archived author: MaxtorCoder • Posted: 2025-01-03T10:58:04.863000+00:00
Original source

Isn't it just like a blz::fixed_vector then? Or whatever the name of the struct is when `m_capacity_is_embedded` is set in blz::vector

rektbyfaith
Administrator
0
01-03-2025, 10:59 AM
#35
Archived author: Tea • Posted: 2025-01-03T10:59:33.989000+00:00
Original source

if they have a fixed_vector (i dont see it in debug client), it would be like boost:Confusedtatic_vector (same page) where it never heap allocates and can never exceed that fixed capacity
rektbyfaith
01-03-2025, 10:59 AM #35

Archived author: Tea • Posted: 2025-01-03T10:59:33.989000+00:00
Original source

if they have a fixed_vector (i dont see it in debug client), it would be like boost:Confusedtatic_vector (same page) where it never heap allocates and can never exceed that fixed capacity

rektbyfaith
Administrator
0
01-03-2025, 11:12 AM
#36
Archived author: MaxtorCoder • Posted: 2025-01-03T11:12:10.447000+00:00
Original source

Okay makes sense
rektbyfaith
01-03-2025, 11:12 AM #36

Archived author: MaxtorCoder • Posted: 2025-01-03T11:12:10.447000+00:00
Original source

Okay makes sense

rektbyfaith
Administrator
0
01-03-2025, 11:12 AM
#37
Archived author: MaxtorCoder • Posted: 2025-01-03T11:12:18.225000+00:00
Original source

I do know blz:Confusedtring uses something like that
rektbyfaith
01-03-2025, 11:12 AM #37

Archived author: MaxtorCoder • Posted: 2025-01-03T11:12:18.225000+00:00
Original source

I do know blz:Confusedtring uses something like that

rektbyfaith
Administrator
0
01-03-2025, 11:18 AM
#38
Archived author: Tea • Posted: 2025-01-03T11:18:27.170000+00:00
Original source

yes and in both cases `bool capacity_is_embedded () const { return m_capacity & 0x8000000000000000; }`
rektbyfaith
01-03-2025, 11:18 AM #38

Archived author: Tea • Posted: 2025-01-03T11:18:27.170000+00:00
Original source

yes and in both cases `bool capacity_is_embedded () const { return m_capacity & 0x8000000000000000; }`

rektbyfaith
Administrator
0
01-03-2025, 11:24 AM
#39
Archived author: MaxtorCoder • Posted: 2025-01-03T11:24:48.866000+00:00
Original source

Yes
rektbyfaith
01-03-2025, 11:24 AM #39

Archived author: MaxtorCoder • Posted: 2025-01-03T11:24:48.866000+00:00
Original source

Yes

rektbyfaith
Administrator
0
01-03-2025, 11:26 AM
#40
Archived author: MaxtorCoder • Posted: 2025-01-03T11:26:11.818000+00:00
Original source

But in "IDA" struct it would be kinda like this I guess
```c
template <typename T, typename N = 0>
struct blz::vector
{
T* m_elements;
uint64_t m_size;
uint64_t m_capacity : 63;
uint64_t m_capacity_is_embedded : 1;
T m_storage[N]; //< Only set when m_capacity_is_embedded is set
};
```
rektbyfaith
01-03-2025, 11:26 AM #40

Archived author: MaxtorCoder • Posted: 2025-01-03T11:26:11.818000+00:00
Original source

But in "IDA" struct it would be kinda like this I guess
```c
template <typename T, typename N = 0>
struct blz::vector
{
T* m_elements;
uint64_t m_size;
uint64_t m_capacity : 63;
uint64_t m_capacity_is_embedded : 1;
T m_storage[N]; //< Only set when m_capacity_is_embedded is set
};
```

Pages (5): Previous 1 2 3 4 5 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)