當前位置: 首頁>>代碼示例>>C#>>正文


C# TestClient.TestClient類代碼示例

本文整理匯總了C#中OpenMetaverse.TestClient.TestClient的典型用法代碼示例。如果您正苦於以下問題:C# TestClient類的具體用法?C# TestClient怎麽用?C# TestClient使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


TestClient類屬於OpenMetaverse.TestClient命名空間,在下文中一共展示了TestClient類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。

示例1: InviteToGroupCommand

 public InviteToGroupCommand(TestClient testClient)
 {
     testC = testClient;
     Name = "invitetogroup";
     Description = "invites and avatar to a group the bot is in. Usage: invitetogroup AvatarName|AvatarUUID GroupName|UUIDGroupId";
     Category = CommandCategory.Groups;
 }
開發者ID:zadark,項目名稱:par,代碼行數:7,代碼來源:InviteToGroupCommand.cs

示例2: DumpOutfitCommand

        public DumpOutfitCommand(TestClient testClient)
        {
            Name = "dumpoutfit";
            Description = "Dumps all of the textures from an avatars outfit to the hard drive. Usage: dumpoutfit [avatar-uuid]";
            Category = CommandCategory.Inventory;

        }
開發者ID:RavenB,項目名稱:gridsearch,代碼行數:7,代碼來源:DumpOutfitCommand.cs

示例3: WearCommand

 public WearCommand(TestClient testClient)
 {
     Client = testClient;
     Name = "wear";
     Description = "Wear an outfit folder from inventory. Usage: wear [outfit name] [nobake]";
     Category = CommandCategory.Appearance;
 }
開發者ID:RavenB,項目名稱:gridsearch,代碼行數:7,代碼來源:WearCommand.cs

示例4: FindTextureCommand

 public FindTextureCommand(TestClient testClient)
 {
     Name = "findtexture";
     Description = "Checks if a specified texture is currently visible on a specified face. " +
         "Usage: findtexture [face-index] [texture-uuid]";
     Category = CommandCategory.Objects;
 }
開發者ID:RavenB,項目名稱:gridsearch,代碼行數:7,代碼來源:FindTextureCommand.cs

示例5: PrimRegexCommand

 public PrimRegexCommand(TestClient testClient)
 {
     Name = "primregex";
     Description = "Find prim by text predicat. " +
         "Usage: primregex [text predicat] (eg findprim .away.)";
     Category = CommandCategory.Objects;
 }
開發者ID:RavenB,項目名稱:gridsearch,代碼行數:7,代碼來源:PrimRegexCommand.cs

示例6: ImGroupCommand

        public ImGroupCommand(TestClient testClient)
        {

            Name = "imgroup";
            Description = "Send an instant message to a group. Usage: imgroup [group_uuid] [message]";
            Category = CommandCategory.Communication;
        }
開發者ID:RavenB,項目名稱:gridsearch,代碼行數:7,代碼來源:IMGroupCommand.cs

示例7: AttachmentsCommand

 public AttachmentsCommand(TestClient testClient)
 {
     Client = testClient;
     Name = "attachments";
     Description = "Prints a list of the currently known agent attachments";
     Category = CommandCategory.Appearance;
 }
開發者ID:RavenB,項目名稱:gridsearch,代碼行數:7,代碼來源:AttachmentsCommand.cs

示例8: DownloadTextureCommand

        public DownloadTextureCommand(TestClient testClient)
        {
            Name = "downloadtexture";
            Description = "Downloads the specified texture. " +
                "Usage: downloadtexture [texture-uuid] [discardlevel]";
            Category = CommandCategory.Inventory;

        }
開發者ID:KSLcom,項目名稱:Aurora-LibOMV,代碼行數:8,代碼來源:DownloadTextureCommand.cs

示例9: GridLayerCommand

        public GridLayerCommand(TestClient testClient)
        {
            Name = "gridlayer";
            Description = "Downloads all of the layer chunks for the grid object map";
            Category = CommandCategory.Simulator;

            testClient.Grid.OnGridLayer += new GridManager.GridLayerCallback(Grid_OnGridLayer);
        }
開發者ID:RavenB,項目名稱:gridsearch,代碼行數:8,代碼來源:GridLayerCommand.cs

示例10: DownloadCommand

        public DownloadCommand(TestClient testClient)
        {
            Name = "download";
            Description = "Downloads the specified asset. Usage: download [uuid] [assetType]";
            Category = CommandCategory.Inventory;

            testClient.Assets.OnAssetReceived += new AssetManager.AssetReceivedCallback(Assets_OnAssetReceived);
        }
開發者ID:RavenB,項目名稱:gridsearch,代碼行數:8,代碼來源:DownloadCommand.cs

示例11: ImportCommand

 public ImportCommand(TestClient testClient)
 {
     Name = "import";
     Description = "Import prims from an exported xml file. Usage: import inputfile.xml [usegroup]";
     Category = CommandCategory.Objects;
     
     testClient.Objects.ObjectUpdate += Objects_OnNewPrim;
 }
開發者ID:RavenB,項目名稱:gridsearch,代碼行數:8,代碼來源:ImportCommand.cs

示例12: GridLayerCommand

        public GridLayerCommand(TestClient testClient)
        {
            Name = "gridlayer";
            Description = "Downloads all of the layer chunks for the grid object map";
            Category = CommandCategory.Simulator;

            testClient.Grid.GridLayer += Grid_GridLayer;
        }
開發者ID:RavenB,項目名稱:gridsearch,代碼行數:8,代碼來源:GridLayerCommand.cs

示例13: PacketLogCommand

        public PacketLogCommand(TestClient testClient)
        {
            Name = "logpacket";
            Description = "Logs a given number of packets to a file.  For example, packetlog 10 tenpackets.xml";
            Category = CommandCategory.TestClient;

            m_client = testClient;
        }
開發者ID:nivardus,項目名稱:libopenmetaverse,代碼行數:8,代碼來源:LogPacketCommand.cs

示例14: FollowCommand

		public FollowCommand(TestClient testClient)
		{
			Name = "follow";
			Description = "Follow another avatar. (usage: follow [FirstName LastName])  If no target is set then will follow master.";
            Category = CommandCategory.Movement;

            testClient.Network.RegisterCallback(PacketType.AlertMessage, new NetworkManager.PacketCallback(AlertMessageHandler));
		}
開發者ID:RavenB,項目名稱:gridsearch,代碼行數:8,代碼來源:FollowCommand.cs

示例15: ImCommand

        public ImCommand(TestClient testClient)
        {
            testClient.Avatars.AvatarPickerReply += Avatars_AvatarPickerReply;

            Name = "im";
            Description = "Instant message someone. Usage: im [firstname] [lastname] [message]";
            Category = CommandCategory.Communication;
        }
開發者ID:KSLcom,項目名稱:Aurora-LibOMV,代碼行數:8,代碼來源:IMCommand.cs


注:本文中的OpenMetaverse.TestClient.TestClient類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。