converting ObjectGuid

Hello everyone, is there anyway where I can convert Objectguid to uint64? If it is, tell me how please!

Thank you!

[FONT=Courier New]uint64 ObjectGuid::GetRawValue() const[/FONT]

Don’t. Write your code to use ObjectGuid instead.

@Shauren I can do that but I need to use an if statements or Boolean and is not allowed.

Use .IsEmpty() method

ObjectGuid::LowType

or use .GetCounter() if your want to get a player guid for exemple.