feat(Documents) Notes/Docs page improvements and warning cleanup
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
using Model.Immortal.Types;
|
||||
using Model.Types;
|
||||
|
||||
namespace Model.Immortal.Entity.Parts;
|
||||
namespace Model.Entity.Parts;
|
||||
|
||||
public class EntityFactionModel : IEntityPartInterface {
|
||||
public class EntityFactionModel : IEntityPartInterface
|
||||
{
|
||||
public string Type { get; set; } = "EntityFactionModel";
|
||||
public string Faction { get; set; } = FactionType.QRath;
|
||||
}
|
||||
@@ -1,8 +1,9 @@
|
||||
using Model.Immortal.Types;
|
||||
using Model.Types;
|
||||
|
||||
namespace Model.Immortal.Entity.Parts;
|
||||
namespace Model.Entity.Parts;
|
||||
|
||||
public class EntityHarvestModel : IEntityPartInterface {
|
||||
public class EntityHarvestModel : IEntityPartInterface
|
||||
{
|
||||
public string Type { get; set; } = "EntityHarvestModel";
|
||||
public ResourceType Resource { get; set; } = ResourceType.Alloy;
|
||||
public float Slots { get; set; }
|
||||
|
||||
@@ -1,32 +1,38 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Model.Immortal.Entity.Parts;
|
||||
namespace Model.Entity.Parts;
|
||||
|
||||
public class EntityHotkeyModel : IEntityPartInterface {
|
||||
public class EntityHotkeyModel : IEntityPartInterface
|
||||
{
|
||||
public string Type { get; set; } = "EntityHotkeyModel";
|
||||
public string Hotkey { get; set; }
|
||||
public bool HoldSpace { get; set; } = false;
|
||||
public string HotkeyGroup { get; set; }
|
||||
|
||||
|
||||
public bool IsSelectedHotkey(List<string> keys) {
|
||||
public bool IsSelectedHotkey(List<string> keys)
|
||||
{
|
||||
return keys.Contains(Hotkey.ToUpper());
|
||||
}
|
||||
|
||||
public bool IsSelectedHotkeyGroup(List<string> keys) {
|
||||
public bool IsSelectedHotkeyGroup(List<string> keys)
|
||||
{
|
||||
return keys.Contains(HotkeyGroup.ToUpper());
|
||||
}
|
||||
|
||||
|
||||
public bool IsSelectedHoldSpace(List<string> keys) {
|
||||
public bool IsSelectedHoldSpace(List<string> keys)
|
||||
{
|
||||
return (keys.Contains("SPACE") || keys.Contains(" ")) == HoldSpace;
|
||||
}
|
||||
|
||||
|
||||
public bool IsSelectedHotkeyGroupWithSpace(List<string> keys) {
|
||||
public bool IsSelectedHotkeyGroupWithSpace(List<string> keys)
|
||||
{
|
||||
var foundKey = false;
|
||||
var foundHold = false;
|
||||
foreach (var key in keys) {
|
||||
foreach (var key in keys)
|
||||
{
|
||||
if (key.ToUpper().Equals(HotkeyGroup.ToUpper())) foundKey = true;
|
||||
if (key.ToUpper().Equals("SPACE") || key.ToUpper().Equals(" ")) foundHold = true;
|
||||
}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
namespace Model.Immortal.Entity.Parts;
|
||||
namespace Model.Entity.Parts;
|
||||
|
||||
public class EntityIdAbilityModel : IEntityPartInterface {
|
||||
public class EntityIdAbilityModel : IEntityPartInterface
|
||||
{
|
||||
public string Type { get; set; } = "EntityIdAbilityModel";
|
||||
public string Id { get; set; }
|
||||
}
|
||||
@@ -1,6 +1,7 @@
|
||||
namespace Model.Immortal.Entity.Parts;
|
||||
namespace Model.Entity.Parts;
|
||||
|
||||
public class EntityIdArmyModel : IEntityPartInterface {
|
||||
public class EntityIdArmyModel : IEntityPartInterface
|
||||
{
|
||||
public string Type { get; set; } = "EntityIdArmyModel";
|
||||
public string Id { get; set; }
|
||||
}
|
||||
@@ -1,6 +1,7 @@
|
||||
namespace Model.Immortal.Entity.Parts;
|
||||
namespace Model.Entity.Parts;
|
||||
|
||||
public class EntityIdPassiveModel : IEntityPartInterface {
|
||||
public class EntityIdPassiveModel : IEntityPartInterface
|
||||
{
|
||||
public string Type { get; set; } = "EntityIdPassiveModel";
|
||||
public string Id { get; set; }
|
||||
}
|
||||
@@ -1,6 +1,7 @@
|
||||
namespace Model.Immortal.Entity.Parts;
|
||||
namespace Model.Entity.Parts;
|
||||
|
||||
public class EntityIdPyreSpellModel : IEntityPartInterface {
|
||||
public class EntityIdPyreSpellModel : IEntityPartInterface
|
||||
{
|
||||
public string Type { get; set; } = "EntityIdPyreSpellModel";
|
||||
public string Id { get; set; }
|
||||
}
|
||||
@@ -1,6 +1,7 @@
|
||||
namespace Model.Immortal.Entity.Parts;
|
||||
namespace Model.Entity.Parts;
|
||||
|
||||
public class EntityIdUpgradeModel : IEntityPartInterface {
|
||||
public class EntityIdUpgradeModel : IEntityPartInterface
|
||||
{
|
||||
public string Type { get; set; } = "EntityIdUpgradeModel";
|
||||
|
||||
public string Id { get; set; }
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
namespace Model.Immortal.Entity.Parts;
|
||||
namespace Model.Entity.Parts;
|
||||
|
||||
public class EntityIdVanguardModel : IEntityPartInterface {
|
||||
public class EntityIdVanguardModel : IEntityPartInterface
|
||||
{
|
||||
public string Type { get; set; } = "EntityIdVanguardModel";
|
||||
public string Id { get; set; }
|
||||
}
|
||||
@@ -1,8 +1,9 @@
|
||||
using Model.Immortal.Types;
|
||||
using Model.Types;
|
||||
|
||||
namespace Model.Immortal.Entity.Parts;
|
||||
namespace Model.Entity.Parts;
|
||||
|
||||
public class EntityInfoModel : IEntityPartInterface {
|
||||
public class EntityInfoModel : IEntityPartInterface
|
||||
{
|
||||
public string Type { get; set; } = "EntityInfoModel";
|
||||
public string Name { get; set; } = "";
|
||||
public string Descriptive { get; set; } = DescriptiveType.None;
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
namespace Model.Immortal.Entity.Parts;
|
||||
namespace Model.Entity.Parts;
|
||||
|
||||
public class EntityMechanicModel : IEntityPartInterface {
|
||||
public class EntityMechanicModel : IEntityPartInterface
|
||||
{
|
||||
public string Type { get; set; } = "EntityMechanicModel";
|
||||
public string Name { get; set; } = "";
|
||||
public string Description { get; set; }
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
using Model.Immortal.Types;
|
||||
using Model.Types;
|
||||
|
||||
namespace Model.Immortal.Entity.Parts;
|
||||
namespace Model.Entity.Parts;
|
||||
|
||||
public class EntityMovementModel : IEntityPartInterface {
|
||||
public class EntityMovementModel : IEntityPartInterface
|
||||
{
|
||||
public string Type { get; set; } = "EntityMovementModel";
|
||||
public float Speed { get; set; } = 0;
|
||||
public string Movement { get; set; } = MovementType.Ground;
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
namespace Model.Immortal.Entity.Parts;
|
||||
namespace Model.Entity.Parts;
|
||||
|
||||
public class EntityPassiveModel : IEntityPartInterface {
|
||||
public class EntityPassiveModel : IEntityPartInterface
|
||||
{
|
||||
public string Type { get; set; } = "EntityPassiveModel";
|
||||
public string Name { get; set; } = "";
|
||||
public string Description { get; set; }
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
namespace Model.Immortal.Entity.Parts;
|
||||
namespace Model.Entity.Parts;
|
||||
|
||||
public class EntityProductionModel : IEntityPartInterface {
|
||||
public class EntityProductionModel : IEntityPartInterface
|
||||
{
|
||||
public string Type { get; set; } = "EntityProductionModel";
|
||||
public int Alloy { get; set; } = 0;
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
namespace Model.Immortal.Entity.Parts;
|
||||
namespace Model.Entity.Parts;
|
||||
|
||||
public class EntityPyreRewardModel : IEntityPartInterface {
|
||||
public class EntityPyreRewardModel : IEntityPartInterface
|
||||
{
|
||||
public string Type { get; set; } = "EntityPyreRewardModel";
|
||||
|
||||
public int BaseReward { get; set; } = 0;
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
using Model.Immortal.Types;
|
||||
using Model.Types;
|
||||
|
||||
namespace Model.Immortal.Entity.Parts;
|
||||
namespace Model.Entity.Parts;
|
||||
|
||||
public class EntityRequirementModel : IEntityPartInterface {
|
||||
public class EntityRequirementModel : IEntityPartInterface
|
||||
{
|
||||
public string Type { get; set; } = "EntityRequirementModel";
|
||||
public string DataType { get; set; }
|
||||
public string Requirement { get; set; } = RequirementType.Production_Building;
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
namespace Model.Immortal.Entity.Parts;
|
||||
namespace Model.Entity.Parts;
|
||||
|
||||
public class EntityStrategyModel : IEntityPartInterface {
|
||||
public class EntityStrategyModel : IEntityPartInterface
|
||||
{
|
||||
public string Type { get; set; } = "EntityStrategyModel";
|
||||
public string Notes { get; set; } = "";
|
||||
}
|
||||
@@ -1,6 +1,7 @@
|
||||
namespace Model.Immortal.Entity.Parts;
|
||||
namespace Model.Entity.Parts;
|
||||
|
||||
public class EntitySupplyModel : IEntityPartInterface {
|
||||
public class EntitySupplyModel : IEntityPartInterface
|
||||
{
|
||||
public string Type { get; set; } = "EntitySupplyModel";
|
||||
public int Takes { get; set; } = 0;
|
||||
public int Grants { get; set; } = 0;
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
namespace Model.Immortal.Entity.Parts;
|
||||
namespace Model.Entity.Parts;
|
||||
|
||||
public class EntityTierModel : IEntityPartInterface {
|
||||
public class EntityTierModel : IEntityPartInterface
|
||||
{
|
||||
public string Type { get; set; } = "EntityTierModel";
|
||||
public float Tier { get; set; }
|
||||
}
|
||||
@@ -1,13 +1,12 @@
|
||||
using System;
|
||||
using Model.Immortal.Entity.Data;
|
||||
using Model.Immortal.Types;
|
||||
using Model.Entity.Data;
|
||||
|
||||
namespace Model.Immortal.Entity.Parts;
|
||||
namespace Model.Entity.Parts;
|
||||
|
||||
public class EntityVanguardAddedModel : IEntityPartInterface {
|
||||
public class EntityVanguardAddedModel : IEntityPartInterface
|
||||
{
|
||||
public string Type { get; set; } = "EntityVanguardAddedModel";
|
||||
|
||||
|
||||
public string ImmortalId { get; set; } = DataType.IMMORTAL_Ajari;
|
||||
|
||||
|
||||
public string ReplaceId { get; set; } = "";
|
||||
}
|
||||
@@ -1,9 +1,9 @@
|
||||
using Model.Immortal.Entity.Data;
|
||||
using Model.Immortal.Types;
|
||||
using Model.Entity.Data;
|
||||
|
||||
namespace Model.Immortal.Entity.Parts;
|
||||
namespace Model.Entity.Parts;
|
||||
|
||||
public class EntityVanguardReplacedModel : IEntityPartInterface {
|
||||
public class EntityVanguardReplacedModel : IEntityPartInterface
|
||||
{
|
||||
public string Type { get; set; } = "EntityVanguardReplacedModel";
|
||||
public string ImmortalId { get; set; } = DataType.IMMORTAL_Xol;
|
||||
public string ReplacedById { get; set; } = "";
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
using Model.Immortal.Types;
|
||||
using Model.Types;
|
||||
|
||||
namespace Model.Immortal.Entity.Parts;
|
||||
namespace Model.Entity.Parts;
|
||||
|
||||
public class EntityVitalityModel : IEntityPartInterface {
|
||||
public class EntityVitalityModel : IEntityPartInterface
|
||||
{
|
||||
public string Type { get; set; } = "EntityVitalityModel";
|
||||
public int Health { get; set; } = 0;
|
||||
public int DefenseLayer { get; set; } = 0;
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
using System;
|
||||
using Model.Immortal.Types;
|
||||
using Model.Types;
|
||||
|
||||
namespace Model.Immortal.Entity.Parts;
|
||||
namespace Model.Entity.Parts;
|
||||
|
||||
public class EntityWeaponModel : IEntityPartInterface {
|
||||
public class EntityWeaponModel : IEntityPartInterface
|
||||
{
|
||||
public int Id { get; set; } = 1;
|
||||
public int EntityModelId { get; set; }
|
||||
public virtual EntityModel EntityModel { get; set; }
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
namespace Model.Immortal.Entity.Parts;
|
||||
namespace Model.Entity.Parts;
|
||||
|
||||
public interface IEntityPartInterface { }
|
||||
public interface IEntityPartInterface
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user