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


C# TestClient.TestClient類代碼示例

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


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

示例1: ImCommand

        public ImCommand(TestClient testClient)
        {
            testClient.Avatars.OnAvatarNameSearch += new AvatarManager.AvatarNameSearchCallback(Avatars_OnAvatarNameSearch);

            Name = "im";
            Description = "Instant message someone. Usage: im [firstname] [lastname] [message]";
        }
開發者ID:RavenB,項目名稱:gridsearch,代碼行數:7,代碼來源:IMCommand.cs

示例2: DetectBotCommand

        public DetectBotCommand(TestClient testClient)
        {
            Name = "detectbot";
            Description = "Runs in the background, reporting any potential bots";

            testClient.Avatars.OnAvatarAppearance += new AvatarManager.AvatarAppearanceCallback(Avatars_OnAvatarAppearance);
        }
開發者ID:chrbayer84,項目名稱:SLAgentCSServer,代碼行數:7,代碼來源:DetectBotCommand.cs

示例3: ParcelVoiceInfoCommand

        public ParcelVoiceInfoCommand(TestClient testClient)
        {
            Name = "voiceparcel";
            Description = "obtain parcel voice info. Usage: voiceparcel";

            Client = testClient;
        }
開發者ID:chrbayer84,項目名稱:SLAgentCSServer,代碼行數:7,代碼來源:ParcelVoiceInfo.cs

示例4: FriendsCommand

 /// <summary>
 /// Constructor for FriendsCommand class
 /// </summary>
 /// <param name="testClient">A reference to the TestClient object</param>
 public FriendsCommand(TestClient testClient)
 {
     // The name of the command
     Name = "friends";
     // A short description of the command with usage instructions
     Description = "List avatar friends. Usage: friends";
 }
開發者ID:RavenB,項目名稱:gridsearch,代碼行數:11,代碼來源:FriendsCommand.cs

示例5: DetectBotCommand

        public DetectBotCommand(TestClient testClient)
        {
            Name = "detectbot";
            Description = "Runs in the background, reporting any potential bots";

            testClient.Network.RegisterCallback(PacketType.AvatarAppearance, new NetworkManager.PacketCallback(AvatarAppearanceHandler));
        }
開發者ID:RavenB,項目名稱:gridsearch,代碼行數:7,代碼來源:DetectBotCommand.cs

示例6: ImportCommand

 public ImportCommand(TestClient testClient)
 {
     Name = "import";
     Description = "Import prims from an exported xml file. Usage: import inputfile.xml";
     primDone = new AutoResetEvent(false);
     registeredCreateEvent = false;
 }
開發者ID:RavenB,項目名稱:gridsearch,代碼行數:7,代碼來源:ImportCommand.cs

示例7: VoiceAccountCommand

        public VoiceAccountCommand(TestClient testClient)
        {
            Name = "voiceaccount";
            Description = "obtain voice account info. Usage: voiceaccount";

            Client = testClient;
        }
開發者ID:chrbayer84,項目名稱:SLAgentCSServer,代碼行數:7,代碼來源:VoiceAcountCommand.cs

示例8: GridLayerCommand

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

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

示例9: ParcelInfoCommand

        public ParcelInfoCommand(TestClient testClient)
        {
            Name = "parcelinfo";
            Description = "Prints out info about all the parcels in this simulator";

            testClient.Network.OnDisconnected += new NetworkManager.DisconnectedCallback(Network_OnDisconnected);
        }
開發者ID:chrbayer84,項目名稱:SLAgentCSServer,代碼行數:7,代碼來源:ParcelInfoCommand.cs

示例10: FollowCommand

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

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

示例11: GroupsCommand

        public GroupsCommand(TestClient testClient)
        {
            testClient.Groups.OnCurrentGroups += new GroupManager.CurrentGroupsCallback(Groups_OnCurrentGroups);

            Name = "groups";
            Description = "List avatar groups. Usage: groups";
        }
開發者ID:Belxjander,項目名稱:Asuna,代碼行數:7,代碼來源:GroupsCommand.cs

示例12: ChangePermsCommand

        public ChangePermsCommand(TestClient testClient)
        {
            testClient.Objects.OnObjectProperties += new ObjectManager.ObjectPropertiesCallback(Objects_OnObjectProperties);

            Name = "changeperms";
            Description = "Recursively changes all of the permissions for child and task inventory objects. Usage prim-uuid [copy] [mod] [xfer]";
        }
開發者ID:Belxjander,項目名稱:Asuna,代碼行數:7,代碼來源:ChangePermsCommand.cs

示例13: ImportCommand

        public ImportCommand(TestClient testClient)
        {
            Name = "import";
            Description = "Import prims from an exported xml file. Usage: import inputfile.xml [usegroup]";

            testClient.Objects.OnNewPrim += new ObjectManager.NewPrimCallback(Objects_OnNewPrim);
        }
開發者ID:RavenB,項目名稱:gridsearch,代碼行數:7,代碼來源:ImportCommand.cs

示例14: PacketLogCommand

        public PacketLogCommand(TestClient testClient)
        {
            TestClient = testClient;
            Client = (SecondLife)TestClient;

            Name = "packetlog";
            Description = "Logs a given number of packets to an xml file. Usage: packetlog 10 tenpackets.xml";
        }
開發者ID:BackupTheBerlios,項目名稱:libsecondlife-svn,代碼行數:8,代碼來源:PacketLogCommand.cs

示例15: SitCommand

        public SitCommand(TestClient testClient)
        {
            TestClient = testClient;
            Client = (SecondLife)TestClient;

            Name = "sit";
            Description = "Attempt to sit on the closest prim";
        }
開發者ID:BackupTheBerlios,項目名稱:libsecondlife-svn,代碼行數:8,代碼來源:SitCommand.cs


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