Superfighters Deluxe
BotMeleeActions Struct Reference

Bot melee actions used for BotBehaviorSet. More...

Inheritance diagram for BotMeleeActions:

Public Member Functions

bool Equals (BotMeleeActions other)
 
override bool Equals (object obj)
 
override int GetHashCode ()
 
ushort GetMaxRegisteredValue ()
 Returns the maximum reigstered value among all the values. More...
 
ushort GetMinRegisteredValue (bool includeZeroValues=true)
 Returns the minimum registered value among all the values. More...
 
BotMeleeActions Multiply (float value)
 Multiplies all weighted values with the specified percentage and returns a new BotMeleeActions. Capping the values at 0 or ushort.MaxValue if needed. More...
 

Static Public Member Functions

static ushort Multiply (ushort s, float p)
 Multiplies a ushort with a float and returns the new ushort value. More...
 
static bool operator!= (BotMeleeActions a, BotMeleeActions b)
 
static bool operator== (BotMeleeActions a, BotMeleeActions b)
 

Public Attributes

ushort Attack
 Weight to Attack. More...
 
ushort AttackCombo
 Weight to Attack when performing combos. More...
 
ushort Block
 Weight to Block. More...
 
ushort Grab
 Weight to Grab. More...
 
ushort Jump
 Weight to Jump. More...
 
ushort Kick
 Weight to Kick. More...
 
ushort Wait
 Weight to Waiting. Note that there's a built in max time bots will wait before doing other actions based on MeleeWaitTimeLimitMin and MeleeWaitTimeLimitMax. More...
 

Properties

static BotMeleeActions Blank [get]
 Blank BotMeleeActions. Everything is set to 0. More...
 
static BotMeleeActions Default [get]
 Default BotMeleeActions. More...
 
static BotMeleeActions DefaultWhenEnraged [get]
 Default BotMeleeActions when enraged. More...
 
static BotMeleeActions DefaultWhenEnragedAndHit [get]
 Default BotMeleeActions when enraged and hit. More...
 
static BotMeleeActions DefaultWhenHit [get]
 Default BotMeleeActions when hit. More...
 
static BotMeleeActions Easy [get]
 Easy BotMeleeActions. More...
 
static BotMeleeActions EasyWhenEnraged [get]
 Easy BotMeleeActions when enraged. More...
 
static BotMeleeActions EasyWhenEnragedAndHit [get]
 Easy BotMeleeActions when enraged and hit. More...
 
static BotMeleeActions EasyWhenHit [get]
 Easy BotMeleeActions when hit. More...
 
static BotMeleeActions Expert [get]
 Expert BotMeleeActions set. More...
 
static BotMeleeActions ExpertWhenEnraged [get]
 Expert BotMeleeActions when enraged. More...
 
static BotMeleeActions ExpertWhenEnragedAndHit [get]
 Expert BotMeleeActions when enraged and hit. More...
 
static BotMeleeActions ExpertWhenHit [get]
 Expert BotMeleeActions when hit. More...
 
static BotMeleeActions Hard [get]
 Hard BotMeleeActions set. More...
 
static BotMeleeActions HardWhenEnraged [get]
 Hard BotMeleeActions when enraged. More...
 
static BotMeleeActions HardWhenEnragedAndHit [get]
 Hard BotMeleeActions when enraged and hit. More...
 
static BotMeleeActions HardWhenHit [get]
 Hard BotMeleeActions when hit. More...
 
static BotMeleeActions Normal [get]
 Normal BotMeleeActions set. More...
 
static BotMeleeActions NormalWhenEnraged [get]
 Normal BotMeleeActions when enraged. More...
 
static BotMeleeActions NormalWhenEnragedAndHit [get]
 Normal BotMeleeActions when enraged and hit. More...
 
static BotMeleeActions NormalWhenHit [get]
 Normal BotMeleeActions when hit. More...
 

Detailed Description

Bot melee actions used for BotBehaviorSet.

Member Function Documentation

◆ Equals() [1/2]

bool Equals ( BotMeleeActions  other)

Parameters
other
Returns

◆ Equals() [2/2]

override bool Equals ( object  obj)

Parameters
obj
Returns

◆ GetHashCode()

override int GetHashCode ( )

Returns

◆ GetMaxRegisteredValue()

ushort GetMaxRegisteredValue ( )

Returns the maximum reigstered value among all the values.

◆ GetMinRegisteredValue()

ushort GetMinRegisteredValue ( bool  includeZeroValues = true)

Returns the minimum registered value among all the values.

Parameters
includeZeroValuesIf zero values should be included in the check.

◆ Multiply() [1/2]

BotMeleeActions Multiply ( float  value)

Multiplies all weighted values with the specified percentage and returns a new BotMeleeActions. Capping the values at 0 or ushort.MaxValue if needed.

◆ Multiply() [2/2]

static ushort Multiply ( ushort  s,
float  p 
)
static

Multiplies a ushort with a float and returns the new ushort value.

Parameters
sShort value
pFactor to multiply
Returns
ushort value (capped to 0 or ushort.MaxValue)

◆ operator!=()

static bool operator!= ( BotMeleeActions  a,
BotMeleeActions  b 
)
static

Parameters
a
b
Returns

◆ operator==()

static bool operator== ( BotMeleeActions  a,
BotMeleeActions  b 
)
static

Parameters
a
b
Returns

Member Data Documentation

◆ Attack

ushort Attack

Weight to Attack.

◆ AttackCombo

ushort AttackCombo

Weight to Attack when performing combos.

◆ Block

ushort Block

Weight to Block.

◆ Grab

ushort Grab

Weight to Grab.

◆ Jump

ushort Jump

Weight to Jump.

◆ Kick

ushort Kick

Weight to Kick.

◆ Wait

ushort Wait

Weight to Waiting. Note that there's a built in max time bots will wait before doing other actions based on MeleeWaitTimeLimitMin and MeleeWaitTimeLimitMax.

Property Documentation

◆ Blank

BotMeleeActions Blank
staticget

Blank BotMeleeActions. Everything is set to 0.

◆ Default

BotMeleeActions Default
staticget

Default BotMeleeActions.

◆ DefaultWhenEnraged

BotMeleeActions DefaultWhenEnraged
staticget

Default BotMeleeActions when enraged.

◆ DefaultWhenEnragedAndHit

BotMeleeActions DefaultWhenEnragedAndHit
staticget

Default BotMeleeActions when enraged and hit.

◆ DefaultWhenHit

BotMeleeActions DefaultWhenHit
staticget

Default BotMeleeActions when hit.

◆ Easy

BotMeleeActions Easy
staticget

◆ EasyWhenEnraged

BotMeleeActions EasyWhenEnraged
staticget

Easy BotMeleeActions when enraged.

◆ EasyWhenEnragedAndHit

BotMeleeActions EasyWhenEnragedAndHit
staticget

Easy BotMeleeActions when enraged and hit.

◆ EasyWhenHit

BotMeleeActions EasyWhenHit
staticget

Easy BotMeleeActions when hit.

◆ Expert

BotMeleeActions Expert
staticget

Expert BotMeleeActions set.

◆ ExpertWhenEnraged

BotMeleeActions ExpertWhenEnraged
staticget

Expert BotMeleeActions when enraged.

◆ ExpertWhenEnragedAndHit

BotMeleeActions ExpertWhenEnragedAndHit
staticget

Expert BotMeleeActions when enraged and hit.

◆ ExpertWhenHit

BotMeleeActions ExpertWhenHit
staticget

Expert BotMeleeActions when hit.

◆ Hard

BotMeleeActions Hard
staticget

Hard BotMeleeActions set.

◆ HardWhenEnraged

BotMeleeActions HardWhenEnraged
staticget

Hard BotMeleeActions when enraged.

◆ HardWhenEnragedAndHit

BotMeleeActions HardWhenEnragedAndHit
staticget

Hard BotMeleeActions when enraged and hit.

◆ HardWhenHit

BotMeleeActions HardWhenHit
staticget

Hard BotMeleeActions when hit.

◆ Normal

BotMeleeActions Normal
staticget

Normal BotMeleeActions set.

◆ NormalWhenEnraged

BotMeleeActions NormalWhenEnraged
staticget

Normal BotMeleeActions when enraged.

◆ NormalWhenEnragedAndHit

BotMeleeActions NormalWhenEnragedAndHit
staticget

Normal BotMeleeActions when enraged and hit.

◆ NormalWhenHit

BotMeleeActions NormalWhenHit
staticget

Normal BotMeleeActions when hit.