TS3PR/SimIFace/Sims3/ProductFlag CS

From SimsWiki
< TS3PR‎ | SimIFace‎ | Sims3
Jump to: navigation, search

This enum seems to figure out which GroupID fits with what pack. You could probably use this to make your own groupID but this has never been tested before and therefore not recommended.

Used primarily by:

Sims3.SimIFace.ResourceUtils Sims3.SimIFace.SocialFeatures.Accounts

[ComVisible(false)]
public enum ProductFlag_CS : uint
{
	kProductFlag_Basegame = 1u, // S3PE displays this as 0x00000000 however. But most VPYX resources and xml resources do use 0x00000001 as 'basegame'
	kProductFlag_EP01 = 2u,
	kProductFlag_SP01 = 4u,
	kProductFlag_EP02 = 8u,
	kProductFlag_SP02 = 0x10,
	kProductFlag_EP03 = 0x20,
	kProductFlag_SP03 = 0x40,
	kProductFlag_EP04 = 0x80,
	kProductFlag_SP04 = 0x100,
	kProductFlag_EP05 = 0x200,
	kProductFlag_SP05 = 0x400,
	kProductFlag_EP06 = 0x800,
	kProductFlag_SP06 = 0x1000,
	kProductFlag_SP07 = 0x2000,
	kProductFlag_EP07 = 0x4000,
	kProductFlag_EP08 = 0x8000,
	kProductFlag_SP08 = 0x10000,
	kProductFlag_EP09 = 0x20000,
	kProductFlag_EP10 = 0x40000,
	kProductFlag_SP09 = 0x80000,
	kProductFlag_EP11 = 0x100000,
	kProductFlag_All_SPs = 603476u
}

USAGE:

Most of these are converted properly. However, in order to read 'kProductFlag_EP01 = 2u,' we can easily convert it to a proper hex notation. The Group inside S3PE has the following format: 0x00000000. This means 2u will become: 0x00000002

Another example of this: kProductFlag_SP08 = 0x10000, as a groupId inside S3PE will be: 0x00010000

This is also the reason why we can easily make 'pack required' objects base game compatible, by just changing the groupId to 0x00000000 ;)

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox