Difference between revisions of "User talk:Demolishun"

Jump to navigation Jump to search
3 bytes added ,  09:08, 14 June 2012
no edit summary
imported>Demolishun
imported>Demolishun
Line 7: Line 7:
In order to convert a FormID or RefID number I needed to build a TESForm and set the ID against it.  So this is the code needed to do so if you have the ID:
In order to convert a FormID or RefID number I needed to build a TESForm and set the ID against it.  So this is the code needed to do so if you have the ID:


UInt32 tref;
UInt32 tref;
g_serialization->ResolveRefID(tint,&tref);
g_serialization->ResolveRefID(tint,&tref);
TESForm *formref = LookupFormByID((UInt32)tref);
TESForm *formref = LookupFormByID((UInt32)tref);
Anonymous user

Navigation menu