• Welcome to Valhalla Legends Archive.
 

MCP_CREATECHAR Flags

Started by FuzZ, March 11, 2004, 12:31 PM

Previous topic - Next topic

FuzZ

I tried to add a comment and contribute on BnetDocs but, I recieved errors. Thought this might help some people.
These are MCP_CREATECHAR Flags (as the subject says.)

Expansion = 0x20
Expansion Ladder = 0x60
Expansion Hardcore = 0x24
Expansion Hardcore Ladder = 0x64
Classic = 0x00
Classic Ladder = 0x40
Classic Hardcore = 0x04
Classic Hardcore Ladder = 0x44


:EDIT: Had Classic HCL wrong. Changed to pre, for *cough* reasons.

Quote
How about:

Code:

Hardcore = 0x04
Expansion = 0x20
Ladder = 0x40

// or any other combination
MyFlags = (Hardcore Or Ladder Or Expansion

It's not supposed to be variables, just a list of what each flag is. Notice the spaces ?

K

Whoops, accidentally deleted my post.  Anyway what I meant was that you really only need these:

Expansion = 0x20
Ladder = 0x40
Hardcore = 0x04
(Classic = 0x00)

And the rest are combinations of the above.  

Skywing

#2
Classic is defined as !(flags & 0x20), not 0.