Jump to content

Need some help with C#


cnyx

Recommended Posts

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
Share on other sites

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
Share on other sites

  • 8 months later...
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
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...