1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-21 12:49:10 +00:00

Add proper member access control to NetVaultNode

This commit is contained in:
2013-01-05 12:06:21 -08:00
parent 5f4f9b9f5f
commit ca916fee49
27 changed files with 847 additions and 1656 deletions

View File

@ -795,10 +795,10 @@ void plNetLinkingMgr::IPostProcessLink( void )
RelVaultNode* info = VaultGetPlayerInfoNodeIncRef();
if (fldr && info)
if (!fldr->IsParentOf(info->nodeId, 1))
if (!fldr->IsParentOf(info->GetNodeId(), 1))
VaultAddChildNode(
fldr->nodeId,
info->nodeId,
fldr->GetNodeId(),
info->GetNodeId(),
NetCommGetPlayer()->playerInt,
nil,
nil
@ -822,10 +822,10 @@ void plNetLinkingMgr::IPostProcessLink( void )
RelVaultNode* info = VaultGetPlayerInfoNodeIncRef();
if (fldr && info)
if (!fldr->IsParentOf(info->nodeId, 1))
if (!fldr->IsParentOf(info->GetNodeId(), 1))
VaultAddChildNode(
fldr->nodeId,
info->nodeId,
fldr->GetNodeId(),
info->GetNodeId(),
NetCommGetPlayer()->playerInt,
nil,
nil
@ -981,7 +981,7 @@ uint8_t plNetLinkingMgr::IPreProcessLink(void)
else if (RelVaultNode* linkNode = VaultGetOwnedAgeLinkIncRef(&ageInfo)) {
// We have the age in our AgesIOwnFolder. If its volatile, dump it for the new one.
VaultAgeLinkNode linkAcc(linkNode);
if (linkAcc.volat) {
if (linkAcc.GetVolatile()) {
if (VaultUnregisterOwnedAgeAndWait(&ageInfo)) {
// Fill in fields for new age create.
if (!info->HasAgeUserDefinedName())