You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
2.7 KiB
56 lines
2.7 KiB
//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// This code was generated by Entitas.CodeGeneration.Plugins.ComponentEntityApiGenerator.
|
|
//
|
|
// Changes to this file may cause incorrect behavior and will be lost if
|
|
// the code is regenerated.
|
|
// </auto-generated>
|
|
//------------------------------------------------------------------------------
|
|
public partial class CombatEntity {
|
|
|
|
public CoreGame.Render.RetryActiveAbilityComponent retryActiveAbility { get { return (CoreGame.Render.RetryActiveAbilityComponent)GetComponent(CombatComponentsLookup.RetryActiveAbility); } }
|
|
public bool hasRetryActiveAbility { get { return HasComponent(CombatComponentsLookup.RetryActiveAbility); } }
|
|
|
|
public void AddRetryActiveAbility(System.Collections.Generic.List<CoreGame.Render.RetryActivateAbilityData> newAbilityDataList) {
|
|
var index = CombatComponentsLookup.RetryActiveAbility;
|
|
var component = (CoreGame.Render.RetryActiveAbilityComponent)CreateComponent(index, typeof(CoreGame.Render.RetryActiveAbilityComponent));
|
|
component.abilityDataList = newAbilityDataList;
|
|
AddComponent(index, component);
|
|
}
|
|
|
|
public void ReplaceRetryActiveAbility(System.Collections.Generic.List<CoreGame.Render.RetryActivateAbilityData> newAbilityDataList) {
|
|
var index = CombatComponentsLookup.RetryActiveAbility;
|
|
var component = (CoreGame.Render.RetryActiveAbilityComponent)CreateComponent(index, typeof(CoreGame.Render.RetryActiveAbilityComponent));
|
|
component.abilityDataList = newAbilityDataList;
|
|
ReplaceComponent(index, component);
|
|
}
|
|
|
|
public void RemoveRetryActiveAbility() {
|
|
RemoveComponent(CombatComponentsLookup.RetryActiveAbility);
|
|
}
|
|
}
|
|
|
|
//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// This code was generated by Entitas.CodeGeneration.Plugins.ComponentMatcherApiGenerator.
|
|
//
|
|
// Changes to this file may cause incorrect behavior and will be lost if
|
|
// the code is regenerated.
|
|
// </auto-generated>
|
|
//------------------------------------------------------------------------------
|
|
public sealed partial class CombatMatcher {
|
|
|
|
static Entitas.IMatcher<CombatEntity> _matcherRetryActiveAbility;
|
|
|
|
public static Entitas.IMatcher<CombatEntity> RetryActiveAbility {
|
|
get {
|
|
if (_matcherRetryActiveAbility == null) {
|
|
var matcher = (Entitas.Matcher<CombatEntity>)Entitas.Matcher<CombatEntity>.AllOf(CombatComponentsLookup.RetryActiveAbility);
|
|
matcher.componentNames = CombatComponentsLookup.componentNames;
|
|
_matcherRetryActiveAbility = matcher;
|
|
}
|
|
|
|
return _matcherRetryActiveAbility;
|
|
}
|
|
}
|
|
}
|
|
|