Skip to content

Commit

Permalink
Add use incense
Browse files Browse the repository at this point in the history
  • Loading branch information
FeroxRev committed Jul 25, 2016
1 parent 5620d57 commit 2c8b6e9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions PokemonGo.RocketAPI/Rpc/Inventory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -94,5 +94,15 @@ public async Task<UseItemEggIncubatorResponse> UseItemRevive(ItemId itemId, ulon

return await PostProtoPayload<Request, UseItemEggIncubatorResponse>(RequestType.UseItemEggIncubator, message);
}

public async Task<UseIncenseResponse> UseIncense(ItemId incenseType)
{
var message = new UseIncenseMessage()
{
IncenseType = incenseType
};

return await PostProtoPayload<Request, UseIncenseResponse>(RequestType.UseIncense, message);
}
}
}

0 comments on commit 2c8b6e9

Please sign in to comment.