Apexx 59 Posted August 20, 2017 Share Posted August 20, 2017 How in c# can I test if the product loaded and running is Party and Healer mode? Link to comment Share on other sites More sharing options...
Droidz 2674 Posted August 20, 2017 Share Posted August 20, 2017 Hello, if (robotManager.Products.Products.ProductName.ToLower() == "party") { PartyProduct.Bot.PartySetting.Load(); if (PartyProduct.Bot.PartySetting.CurrentSetting.HealBot) { // Your code here } } Apexx 1 Link to comment Share on other sites More sharing options...
Apexx 59 Posted August 20, 2017 Author Share Posted August 20, 2017 Thank you so much, @Droidz Quote The name 'PartyProduct' does not exist in the current context Link to comment Share on other sites More sharing options...
Apexx 59 Posted August 21, 2017 Author Share Posted August 21, 2017 Bump Link to comment Share on other sites More sharing options...
reapler 153 Posted August 21, 2017 Share Posted August 21, 2017 @Apexx Hello, you need to add "\WRobot\Products\Party.dll" to your project references. Apexx 1 Link to comment Share on other sites More sharing options...
Apexx 59 Posted August 21, 2017 Author Share Posted August 21, 2017 Ah very well! Thank you @reapler Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now