1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00

use fs_homepath as default integration bus dir

This commit is contained in:
RaidMax
2023-06-11 17:29:25 -05:00
parent 24264fd573
commit 80a7676766
3 changed files with 13 additions and 11 deletions

View File

@ -49,25 +49,25 @@ Setup()
level.overrideMethods[level.commonFunctions.getOutboundData] = ::GetOutboundData;
level.overrideMethods[level.commonFunctions.setInboundData] = ::SetInboundData;
level.overrideMethods[level.commonFunctions.setOutboundData] = ::SetOutboundData;
scripts\_integration_base::_SetDvarIfUninitialized( level.commonKeys.busdir, GetDvar("fs_homepath") );
scripts\_integration_base::_SetDvarIfUninitialized( level.commonKeys.busdir, GetDvar( "fs_homepath" ) );
}
GetInboundData(location)
{
return readFile( location);
}
GetOutboundData(location)
GetInboundData( location )
{
return readFile( location );
}
SetInboundData(location, data )
GetOutboundData( location )
{
return readFile( location );
}
SetInboundData( location, data )
{
writeFile( location, data );
}
SetOutboundData(location, data )
SetOutboundData( location, data )
{
writeFile(location, data );
writeFile( location, data );
}