PartyResources.getById(id) - gets resource by id
PartyResources.getByName(name) - gets first resource by name
PartyResources.getResources() - gets list of all resources
PartyResources.incrementById(id, amount)
PartyResources.incrementByName(name, amount)
PartyResources.decrementById(id, amount)
PartyResources..decrementByName(name, amount)
Created a very simple api wrapper:
PartyResources.getById(id) - gets resource by id PartyResources.getByName(name) - gets first resource by name PartyResources.getResources() - gets list of all resources PartyResources.incrementById(id, amount) PartyResources.incrementByName(name, amount) PartyResources.decrementById(id, amount) PartyResources..decrementByName(name, amount)
Solves #71