RLVa 1.1.2 to 1.1.3 upgrade. InvLinks + COF
This commit is contained in:
@@ -54,19 +54,19 @@ RlvExtGetSet::RlvExtGetSet()
|
||||
}
|
||||
|
||||
// Checked: 2009-05-17 (RLVa-0.2.0a)
|
||||
bool RlvExtGetSet::onForceCommand(const LLUUID& idObj, const RlvCommand& rlvCmd, ERlvCmdRet& cmdRet)
|
||||
bool RlvExtGetSet::onForceCommand(const RlvCommand& rlvCmd, ERlvCmdRet& cmdRet)
|
||||
{
|
||||
return processCommand(idObj, rlvCmd, cmdRet);
|
||||
return processCommand(rlvCmd, cmdRet);
|
||||
}
|
||||
|
||||
// Checked: 2009-05-17 (RLVa-0.2.0a)
|
||||
bool RlvExtGetSet::onReplyCommand(const LLUUID& idObj, const RlvCommand& rlvCmd, ERlvCmdRet& cmdRet)
|
||||
bool RlvExtGetSet::onReplyCommand(const RlvCommand& rlvCmd, ERlvCmdRet& cmdRet)
|
||||
{
|
||||
return processCommand(idObj, rlvCmd, cmdRet);
|
||||
return processCommand(rlvCmd, cmdRet);
|
||||
}
|
||||
|
||||
// Checked: 2009-12-23 (RLVa-1.1.0k) | Modified: RLVa-1.1.0k
|
||||
bool RlvExtGetSet::processCommand(const LLUUID& idObj, const RlvCommand& rlvCmd, ERlvCmdRet& eRet)
|
||||
bool RlvExtGetSet::processCommand(const RlvCommand& rlvCmd, ERlvCmdRet& eRet)
|
||||
{
|
||||
std::string strBehaviour = rlvCmd.getBehaviour(), strGetSet, strSetting;
|
||||
int idxSetting = strBehaviour.find('_');
|
||||
@@ -82,13 +82,13 @@ bool RlvExtGetSet::processCommand(const LLUUID& idObj, const RlvCommand& rlvCmd,
|
||||
{
|
||||
if ( ("get" == strGetSet) && (RLV_TYPE_REPLY == rlvCmd.getParamType()) )
|
||||
{
|
||||
rlvSendChatReply(rlvCmd.getParam(), onGetDebug(strSetting));
|
||||
RlvUtil::sendChatReply(rlvCmd.getParam(), onGetDebug(strSetting));
|
||||
eRet = RLV_RET_SUCCESS;
|
||||
return true;
|
||||
}
|
||||
else if ( ("set" == strGetSet) && (RLV_TYPE_FORCE == rlvCmd.getParamType()) )
|
||||
{
|
||||
if (!gRlvHandler.hasBehaviourExcept(RLV_BHVR_SETDEBUG, idObj))
|
||||
if (!gRlvHandler.hasBehaviourExcept(RLV_BHVR_SETDEBUG, rlvCmd.getObjectID()))
|
||||
eRet = onSetDebug(strSetting, rlvCmd.getOption());
|
||||
return true;
|
||||
}
|
||||
@@ -97,13 +97,13 @@ bool RlvExtGetSet::processCommand(const LLUUID& idObj, const RlvCommand& rlvCmd,
|
||||
{
|
||||
if ( ("get" == strGetSet) && (RLV_TYPE_REPLY == rlvCmd.getParamType()) )
|
||||
{
|
||||
rlvSendChatReply(rlvCmd.getParam(), onGetEnv(strSetting));
|
||||
RlvUtil::sendChatReply(rlvCmd.getParam(), onGetEnv(strSetting));
|
||||
eRet = RLV_RET_SUCCESS;
|
||||
return true;
|
||||
}
|
||||
else if ( ("set" == strGetSet) && (RLV_TYPE_FORCE == rlvCmd.getParamType()) )
|
||||
{
|
||||
if (!gRlvHandler.hasBehaviourExcept(RLV_BHVR_SETENV, idObj))
|
||||
if (!gRlvHandler.hasBehaviourExcept(RLV_BHVR_SETENV, rlvCmd.getObjectID()))
|
||||
eRet = onSetEnv(strSetting, rlvCmd.getOption());
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user