本文整理汇总了C#中libsecondlife.TestClient.TestClient类的典型用法代码示例。如果您正苦于以下问题:C# TestClient类的具体用法?C# TestClient怎么用?C# TestClient使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
TestClient类属于libsecondlife.TestClient命名空间,在下文中一共展示了TestClient类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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
示例16: LogoutCommand
public LogoutCommand(TestClient testClient)
{
TestClient = testClient;
Client = (SecondLife)TestClient;
Name = "logout";
Description = "Log this avatar out";
}
开发者ID:BackupTheBerlios,项目名称:libsecondlife-svn,代码行数:8,代码来源:LogoutCommand.cs
示例17: FindSimCommand
public FindSimCommand(TestClient testClient)
{
TestClient = testClient;
Client = (SecondLife)TestClient;
Name = "findsim";
Description = "Searches for a simulator and returns information about it. Usage: findsim [Simulator Name]";
}
开发者ID:BackupTheBerlios,项目名称:libsecondlife-svn,代码行数:8,代码来源:FindSimCommand.cs
示例18: ExportOutfitCommand
public ExportOutfitCommand(TestClient testClient)
{
TestClient = testClient;
Client = (SecondLife)TestClient;
Name = "exportoutfit";
Description = "Exports an avatars outfit to an xml file. Usage: exportoutfit avataruuid outputfile.xml";
}
开发者ID:BackupTheBerlios,项目名称:libsecondlife-svn,代码行数:8,代码来源:ExportOutfitCommand.cs
示例19: FollowCommand
public FollowCommand(TestClient testClient)
{
TestClient = testClient;
Client = (SecondLife)TestClient;
Name = "follow";
Description = "Follow another avatar. (usage: follow [FirstName LastName]) If no target is set then will follow master.";
}
开发者ID:BackupTheBerlios,项目名称:libsecondlife-svn,代码行数:8,代码来源:FollowCommand.cs
示例20: LocationCommand
public LocationCommand(TestClient testClient)
{
TestClient = testClient;
Client = (SecondLife)TestClient;
Name = "location";
Description = "Show the location.";
}
开发者ID:BackupTheBerlios,项目名称:libsecondlife-svn,代码行数:8,代码来源:LocationCommand.cs
注:本文中的libsecondlife.TestClient.TestClient类示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论