Taranira
New Member
- Joined
- Dec 21, 2014
- Messages
- 329
- Reaction score
- 1
So I wanted to get a list from all equiped items. I looked it up in the API(http://www.archebuddy.com/API/) and found: getAllEquipedItems
But everytime I try to compile the code it gives me the following error:
The name 'getAllEquipedItems' is not included in the current context.
But everytime I try to compile the code it gives me the following error:
The name 'getAllEquipedItems' is not included in the current context.
PHP:
using System;
using System.Drawing;
using System.Threading;
using System.Collections.Generic;
using System.Linq;
using ArcheBuddy.Bot.Classes;
namespace DefaultNameSpace
{
public class DefaultClass : Core
{
public static string GetPluginAuthor()
{
return "Taranira";
}
public static string GetPluginVersion()
{
return "0.0.0.1";
}
public static string GetPluginDescription()
{
return "Check equiped stuff";
}
//Call on plugin start
public void PluginRun()
{
foreach (var EquipedItem in getAllEquipedItems())
{
Log(string.Format("Name: {0} - ID: {1}", EquipedItem.name, EquipedItem.id));
Thread.Sleep(25);
}
}
//Call on plugin stop
public void PluginStop()
{
}
}
}






