cnyx 0 Posted July 1, 2018 Share Posted July 1, 2018 Hello. I have a bit programming skill and try now change one fight class profile. I dont understand here new SpellState("Power Word: Shield", 20, context => DiscPriestaSettings.CurrentSetting.PowerWordShield && Fight.InFight && ObjectManager.Me.GetMove, true, true, false, false, true, true, true, true, 0, false, false, false, false, false, false, wManager.Wow.Helpers.FightClassCreator.YesNoAuto.Yes, "", "player", true, true, false), a lot of "false" and "true". Where i can find description of function SpellState()? And where i can find all functions and methods of "ObjectManager."? Thank you. Link to comment https://wrobot.eu/forums/topic/9685-need-some-help-with-c/ Share on other sites More sharing options...
BetterSister 367 Posted July 1, 2018 Share Posted July 1, 2018 wrong area this isn't tutorial. Moved to right area Link to comment https://wrobot.eu/forums/topic/9685-need-some-help-with-c/#findComment-45025 Share on other sites More sharing options...
Droidz 2738 Posted July 2, 2018 Share Posted July 2, 2018 Hello, public SpellState(string spellName, int priority, BooleanDelegate condition, bool isBuff = false, bool inCombatOnly = true, bool castIfInMount = false, bool castIfMeDead = false, bool checkIfKnow = true, bool checkIfSpellUsable = true, bool checkSpellDistance = true, bool needInView = true, int timer = 0, bool notSpellIsLuaScript = false, bool debug = false, bool targetFriends = false, bool aoeSpell = false, bool aoeSpellMePos = false, bool oncePerTarget = false, YesNoAuto canMoveDuringCast = YesNoAuto.Auto, string description = "", string castOn = "", bool lockFrame = true, bool waitDuringCasting = true, bool notSpellIsCSharpCode = false, bool notSpellIsVBCode = false, bool notSpellIsLuaBotCode = false) But if you use c# to create your fightclass it is not recommended to use this, you can found sample here https://wrobot.eu/forums/topic/12-how-to-create-an-fight-class-developer-only/ Link to comment https://wrobot.eu/forums/topic/9685-need-some-help-with-c/#findComment-45071 Share on other sites More sharing options...
79135 4 Posted March 19, 2019 Share Posted March 19, 2019 On 7/2/2018 at 1:50 PM, Droidz said: Hello, public SpellState(string spellName, int priority, BooleanDelegate condition, bool isBuff = false, bool inCombatOnly = true, bool castIfInMount = false, bool castIfMeDead = false, bool checkIfKnow = true, bool checkIfSpellUsable = true, bool checkSpellDistance = true, bool needInView = true, int timer = 0, bool notSpellIsLuaScript = false, bool debug = false, bool targetFriends = false, bool aoeSpell = false, bool aoeSpellMePos = false, bool oncePerTarget = false, YesNoAuto canMoveDuringCast = YesNoAuto.Auto, string description = "", string castOn = "", bool lockFrame = true, bool waitDuringCasting = true, bool notSpellIsCSharpCode = false, bool notSpellIsVBCode = false, bool notSpellIsLuaBotCode = false) But if you use c# to create your fightclass it is not recommended to use this, you can found sample here hello, where can i find all functions or methods of GoToTask.ToPosition(!!!here!!!); ? Link to comment https://wrobot.eu/forums/topic/9685-need-some-help-with-c/#findComment-52254 Share on other sites More sharing options...
Marsbar 228 Posted March 19, 2019 Share Posted March 19, 2019 2 hours ago, 79135 said: hello, where can i find all functions or methods of GoToTask.ToPosition(!!!here!!!); ? https://marsbars.gitlab.io/unoffical-wrobot-api-docs/api/wManager.Wow.Bot.Tasks.GoToTask.html Link to comment https://wrobot.eu/forums/topic/9685-need-some-help-with-c/#findComment-52258 Share on other sites More sharing options...
79135 4 Posted March 19, 2019 Share Posted March 19, 2019 6 hours ago, Marsbar said: https://marsbars.gitlab.io/unoffical-wrobot-api-docs/api/wManager.Wow.Bot.Tasks.GoToTask.html Thanks a lot! Link to comment https://wrobot.eu/forums/topic/9685-need-some-help-with-c/#findComment-52270 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