About CPosition, Help me, Thanks.

12/09/2020 07:45 halloway520#1
Hi Silkroaders:

PHP Code:
class MPosition
{
public:
    
unsigned short RegionID//0x0000
    
unsigned short unk_0010// what is this ?
    
float PosX//0x0004
    
float PosY//0x0008
    
float PosZ//0x000C
};

class 
CPosition
{
public:
    
char pad_0000[8]; // // what is this ?
    
MPosition position//0x0004

    
void CopyPosition(CPositiondest);
}; 
anybody know [pad_0000] and [unk_0010] is what mean?

i try printf , i get messy code。:confused:

thank you very much!
12/09/2020 19:24 #HB#2
No offense, but it's kinda stupid to expect anyone to understand anybody's code from nowhere.

About your questions, unk_0010 is actually padding bytes typically generated by compiler. I shouldn't have even declared that, compiler should automatically generate it.

pad_0000 no clue, was lazy to parse it, so I just skipped it.
12/10/2020 10:30 Devsome#3
Quote:
Originally Posted by LegendarySouL View Post
You want know more language assembly!! to know what this mean ...

IDA HEX
Quote:
Originally Posted by GameRPoP View Post
You've been very helpful. :kappa:
This was also very helpful, please stick to the context.
12/14/2020 10:05 halloway520#4
thaks every body !
12/14/2020 12:31 #HB#5
Quote:
Originally Posted by halloway520 View Post
thanks every body !
What are you talking about? :v