From 651df17f2c76b60b52c56a7cc35787a8ea87b246 Mon Sep 17 00:00:00 2001 From: Erik Kundiman Date: Wed, 9 Jul 2025 22:11:47 +0800 Subject: Partial @getinv= command implementation Returns an empty string if #RLV folder doesn't contain any folder. Listing sub-folders (folders under any folder under #RLV, listed on the options) isn't implemented yet in this commit. --- indra/newview/rlvhelper.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'indra/newview/rlvhelper.cpp') diff --git a/indra/newview/rlvhelper.cpp b/indra/newview/rlvhelper.cpp index b4abbc04f3..9f71d81206 100644 --- a/indra/newview/rlvhelper.cpp +++ b/indra/newview/rlvhelper.cpp @@ -51,6 +51,7 @@ BehaviourDictionary::BehaviourDictionary() // addEntry(new ReplyProcessor("getcommand")); addEntry(new ReplyProcessor("getsitid")); + addEntry(new ReplyProcessor("getinv")); addEntry(new ReplyProcessor("version")); addEntry(new ReplyProcessor("versionnew")); addEntry(new ReplyProcessor("versionnum")); -- cgit v1.2.3 From f4e04a3e7bac42a8cb18e9c70b67bf97ce020d8c Mon Sep 17 00:00:00 2001 From: Erik Kundiman Date: Thu, 10 Jul 2025 21:48:27 +0800 Subject: @attach:=force implementation A minimal one. It would still work even when the path leading to the right name of the end folder is wrong, but since scripts would likely be trying to get path components from issuing @getinv commands beforehand instead of inserting random names, we'll perfect this implementation later. --- indra/newview/rlvhelper.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'indra/newview/rlvhelper.cpp') diff --git a/indra/newview/rlvhelper.cpp b/indra/newview/rlvhelper.cpp index 9f71d81206..bba1c4c6fd 100644 --- a/indra/newview/rlvhelper.cpp +++ b/indra/newview/rlvhelper.cpp @@ -60,6 +60,7 @@ BehaviourDictionary::BehaviourDictionary() addEntry(new ForceProcessor("sit")); addEntry(new ForceProcessor("sitground")); addEntry(new ForceProcessor("unsit")); + addEntry(new ForceProcessor("attach")); // AddRem addEntry(new BehaviourProcessor("sit")); -- cgit v1.2.3 From b1d2961edb593393da5ae88e275be7bb2568969b Mon Sep 17 00:00:00 2001 From: Erik Kundiman Date: Fri, 11 Jul 2025 14:31:55 +0800 Subject: @attachover:=force implementation See f4e04a3e7bac42a8cb18e9c70b67bf97ce020d8c --- indra/newview/rlvhelper.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'indra/newview/rlvhelper.cpp') diff --git a/indra/newview/rlvhelper.cpp b/indra/newview/rlvhelper.cpp index bba1c4c6fd..4a0b394acb 100644 --- a/indra/newview/rlvhelper.cpp +++ b/indra/newview/rlvhelper.cpp @@ -61,6 +61,7 @@ BehaviourDictionary::BehaviourDictionary() addEntry(new ForceProcessor("sitground")); addEntry(new ForceProcessor("unsit")); addEntry(new ForceProcessor("attach")); + addEntry(new ForceProcessor("attachover")); // AddRem addEntry(new BehaviourProcessor("sit")); -- cgit v1.2.3