本文整理汇总了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;
}
示例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;
}
示例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;
}
示例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;
}
示例5: PrimRegexCommand
public PrimRegexCommand(TestClient testClient)
{
Name = "primregex";
Description = "Find prim by text predicat. " +
"Usage: primregex [text predicat] (eg findprim .away.)";
Category = CommandCategory.Objects;
}
示例6: ImGroupCommand
public ImGroupCommand(TestClient testClient)
{
Name = "imgroup";
Description = "Send an instant message to a group. Usage: imgroup [group_uuid] [message]";
Category = CommandCategory.Communication;
}
示例7: AttachmentsCommand
public AttachmentsCommand(TestClient testClient)
{
Client = testClient;
Name = "attachments";
Description = "Prints a list of the currently known agent attachments";
Category = CommandCategory.Appearance;
}
示例8: DownloadTextureCommand
public DownloadTextureCommand(TestClient testClient)
{
Name = "downloadtexture";
Description = "Downloads the specified texture. " +
"Usage: downloadtexture [texture-uuid] [discardlevel]";
Category = CommandCategory.Inventory;
}
示例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);
}
示例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);
}
示例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;
}
示例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;
}
示例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;
}
示例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));
}
示例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;
}