Argonal
Joined: 24 Apr 2005 Posts: 2
|
Posted: Sun Apr 24, 2005 3:13 Post subject: Need understanding of Set/Get PersistantObject |
|
|
Examining the code for these two, I can almost understand them. However, In the first I find the line pair
SetLocalString(GetModule(), "NWNX!ODBC!SETSCORCOSQL", sSQL);
StoreCampaignObject ("NWNX", "-", oObject);
while in the second I find the lines
SetLocalString(GetModule(), "NWNX!ODBC!SETSCORCOSQL", sSQL);
if (!GetIsObjectValid(oOwner))
oOwner = oObject;
return RetrieveCampaignObject ("NWNX", "-", GetLocation(oOwner), oOwner);
I understand that the
SetLocalString
function is intercepted by the hook code and actually causes the previously set SQL code to be run against the data base. The thing I am having trouble understanding is the
Store/RetrieveCampaignObject
My understanding is that these two statements operate against the native Bioware data base.
What am I missing? |
|