Initial MetaCrate rewrite shell
This commit is contained in:
3
programs/src/bin/inventory_explorer.rs
Normal file
3
programs/src/bin/inventory_explorer.rs
Normal file
@@ -0,0 +1,3 @@
|
||||
fn main() -> std::process::ExitCode {
|
||||
libremetaverse_programs::pending_program("InventoryExplorer")
|
||||
}
|
||||
3
programs/src/bin/irc_gateway.rs
Normal file
3
programs/src/bin/irc_gateway.rs
Normal file
@@ -0,0 +1,3 @@
|
||||
fn main() -> std::process::ExitCode {
|
||||
libremetaverse_programs::pending_program("IRCGateway")
|
||||
}
|
||||
3
programs/src/bin/osd_inspector.rs
Normal file
3
programs/src/bin/osd_inspector.rs
Normal file
@@ -0,0 +1,3 @@
|
||||
fn main() -> std::process::ExitCode {
|
||||
libremetaverse_programs::pending_program("OSDInspector")
|
||||
}
|
||||
3
programs/src/bin/packet_dump.rs
Normal file
3
programs/src/bin/packet_dump.rs
Normal file
@@ -0,0 +1,3 @@
|
||||
fn main() -> std::process::ExitCode {
|
||||
libremetaverse_programs::pending_program("PacketDump")
|
||||
}
|
||||
3
programs/src/bin/prim_inspector.rs
Normal file
3
programs/src/bin/prim_inspector.rs
Normal file
@@ -0,0 +1,3 @@
|
||||
fn main() -> std::process::ExitCode {
|
||||
libremetaverse_programs::pending_program("PrimInspector")
|
||||
}
|
||||
3
programs/src/bin/simple_bot.rs
Normal file
3
programs/src/bin/simple_bot.rs
Normal file
@@ -0,0 +1,3 @@
|
||||
fn main() -> std::process::ExitCode {
|
||||
libremetaverse_programs::pending_program("SimpleBot")
|
||||
}
|
||||
5
programs/src/bin/test_client.rs
Normal file
5
programs/src/bin/test_client.rs
Normal file
@@ -0,0 +1,5 @@
|
||||
fn main() -> std::process::ExitCode {
|
||||
let command_count = libremetaverse_programs::commands::TEST_CLIENT_COMMANDS.len();
|
||||
eprintln!("TestClient command inventory contains {command_count} translated targets");
|
||||
libremetaverse_programs::pending_program("TestClient")
|
||||
}
|
||||
3
programs/src/bin/vivox_test.rs
Normal file
3
programs/src/bin/vivox_test.rs
Normal file
@@ -0,0 +1,3 @@
|
||||
fn main() -> std::process::ExitCode {
|
||||
libremetaverse_programs::pending_program("VivoxTest")
|
||||
}
|
||||
3
programs/src/bin/webrtc_test.rs
Normal file
3
programs/src/bin/webrtc_test.rs
Normal file
@@ -0,0 +1,3 @@
|
||||
fn main() -> std::process::ExitCode {
|
||||
libremetaverse_programs::pending_program("WebRtcTest")
|
||||
}
|
||||
124
programs/src/commands.rs
Normal file
124
programs/src/commands.rs
Normal file
@@ -0,0 +1,124 @@
|
||||
// @generated by tools/generate_surface.py; do not edit by hand.
|
||||
pub const TEST_CLIENT_COMMANDS: &[&str] = &[
|
||||
"BotsCommand",
|
||||
"CloneProfileCommand",
|
||||
"GenericMessageCommand",
|
||||
"PlayAnimationCommand",
|
||||
"TouchCommand",
|
||||
"WhoCommand",
|
||||
"AppearanceCommand",
|
||||
"AttachmentsCommand",
|
||||
"AvatarInfoCommand",
|
||||
"CloneCommand",
|
||||
"WearCommand",
|
||||
"EchoMasterCommand",
|
||||
"IMCommand",
|
||||
"IMGroupCommand",
|
||||
"SayCommand",
|
||||
"ShoutCommand",
|
||||
"WhisperCommand",
|
||||
"Key2NameCommand",
|
||||
"SearchClassifiedsCommand",
|
||||
"SearchEventsCommand",
|
||||
"SearchGroupsCommand",
|
||||
"SearchLandCommand",
|
||||
"SearchPeopleCommand",
|
||||
"SearchPlacesCommand",
|
||||
"ShowEventDetailsCommand",
|
||||
"DownloadTerrainCommand",
|
||||
"GetEstateCovenantCommand",
|
||||
"UploadRawTerrainCommand",
|
||||
"FriendsCommand",
|
||||
"MapFriendCommand",
|
||||
"ActivateGroupCommand",
|
||||
"GroupMembersCommand",
|
||||
"GroupRolesCommand",
|
||||
"GroupsCommand",
|
||||
"InviteGroupCommand",
|
||||
"JoinGroupCommand",
|
||||
"LeaveGroupCommand",
|
||||
"BackupCommand",
|
||||
"BalanceCommand",
|
||||
"ChangeDirectoryCommand",
|
||||
"CreateNotecardCommand",
|
||||
"DeleteFolderCommand",
|
||||
"DownloadCommand",
|
||||
"DumpOutfitCommand",
|
||||
"EmptyLostAndFound",
|
||||
"EmptyTrashCommand",
|
||||
"GiveAllCommand",
|
||||
"GiveItemCommand",
|
||||
"InventoryCommand",
|
||||
"ListContentsCommand",
|
||||
"ObjectInventoryCommand",
|
||||
"ScriptCommand",
|
||||
"TaskRunningCommand",
|
||||
"TreeCommand",
|
||||
"UploadImageCommand",
|
||||
"UploadScriptCommand",
|
||||
"ViewNotecardCommand",
|
||||
"XferCommand",
|
||||
"AgentLocationsCommand",
|
||||
"FindSimCommand",
|
||||
"GridLayerCommand",
|
||||
"GridMapCommand",
|
||||
"ParcelDetailsCommand",
|
||||
"ParcelInfoCommand",
|
||||
"ParcelPrimOwnersCommand",
|
||||
"ParcelSelectObjectsCommand",
|
||||
"SyntaxIdCommand",
|
||||
"WindCommand",
|
||||
"BackCommand",
|
||||
"CrossRegionCommand",
|
||||
"CrouchCommand",
|
||||
"FlyCommand",
|
||||
"FlyToCommand",
|
||||
"FollowCommand",
|
||||
"ForwardCommand",
|
||||
"GoHome",
|
||||
"GotoCommand",
|
||||
"GotoLandmark",
|
||||
"JumpCommand",
|
||||
"LeftCommand",
|
||||
"LocationCommand",
|
||||
"MoveToCommand",
|
||||
"RightCommand",
|
||||
"SetHome",
|
||||
"SitCommand",
|
||||
"SitOnCommand",
|
||||
"StandCommand",
|
||||
"TurnToCommand",
|
||||
"ChangePermsCommand",
|
||||
"DeRezObjectCommand",
|
||||
"DownloadTextureCommand",
|
||||
"ExportCommand",
|
||||
"ExportParticlesCommand",
|
||||
"FindObjectsCommand",
|
||||
"FindTextureCommand",
|
||||
"ImportCommand",
|
||||
"PrimCountCommand",
|
||||
"PrimInfoCommand",
|
||||
"PrimRegexCommand",
|
||||
"TexturesCommand",
|
||||
"DilationCommand",
|
||||
"NetstatsCommand",
|
||||
"RegionInfoCommand",
|
||||
"StatsCommand",
|
||||
"UptimeCommand",
|
||||
"AtCommand",
|
||||
"DebugCommand",
|
||||
"HelpCommand",
|
||||
"LoadCommand",
|
||||
"LogPacketCommand",
|
||||
"LoginCommand",
|
||||
"LogoutCommand",
|
||||
"MD5Command",
|
||||
"QuitCommand",
|
||||
"SetMasterCommand",
|
||||
"SetMasterKeyCommand",
|
||||
"ShowEffectsCommand",
|
||||
"SleepCommand",
|
||||
"WaitForLoginCommand",
|
||||
"ParcelVoiceInfo",
|
||||
"VoiceAcountCommand",
|
||||
];
|
||||
5
programs/src/lib.rs
Normal file
5
programs/src/lib.rs
Normal file
@@ -0,0 +1,5 @@
|
||||
//! Rust targets corresponding to the upstream example and tool projects.
|
||||
|
||||
pub mod commands;
|
||||
|
||||
pub use libremetaverse::shim::pending_program;
|
||||
Reference in New Issue
Block a user