Apexx 60 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 https://wrobot.eu/forums/topic/6825-c-wrotation-check-product-party-healer-mode/ Share on other sites More sharing options...
Droidz 2738 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 https://wrobot.eu/forums/topic/6825-c-wrotation-check-product-party-healer-mode/#findComment-30921 Share on other sites More sharing options...
Apexx 60 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 https://wrobot.eu/forums/topic/6825-c-wrotation-check-product-party-healer-mode/#findComment-30930 Share on other sites More sharing options...
Apexx 60 Posted August 21, 2017 Author Share Posted August 21, 2017 Bump Link to comment https://wrobot.eu/forums/topic/6825-c-wrotation-check-product-party-healer-mode/#findComment-30947 Share on other sites More sharing options...
reapler 154 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 https://wrobot.eu/forums/topic/6825-c-wrotation-check-product-party-healer-mode/#findComment-30948 Share on other sites More sharing options...
Apexx 60 Posted August 21, 2017 Author Share Posted August 21, 2017 Ah very well! Thank you @reapler Link to comment https://wrobot.eu/forums/topic/6825-c-wrotation-check-product-party-healer-mode/#findComment-30949 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