New project to manage La Mimine frigate
This commit is contained in:
parent
d0be374ca8
commit
3236ccb05f
10 changed files with 873 additions and 0 deletions
37
Mimine/Components.cs
Normal file
37
Mimine/Components.cs
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
using VRage;
|
||||
using VRage.Game;
|
||||
using VRage.Game.ModAPI.Ingame;
|
||||
|
||||
namespace IngameScript
|
||||
{
|
||||
class ComponentType
|
||||
{
|
||||
public readonly MyItemType ItemType;
|
||||
public readonly MyDefinitionId BlueprintId;
|
||||
|
||||
public ComponentType(MyItemType itemType, MyDefinitionId blueprintId)
|
||||
{
|
||||
this.ItemType = itemType;
|
||||
this.BlueprintId = blueprintId;
|
||||
}
|
||||
}
|
||||
|
||||
class ComponentQuantity
|
||||
{
|
||||
public readonly ComponentType ComponentType;
|
||||
public readonly MyFixedPoint Quantity;
|
||||
|
||||
public ComponentQuantity(MyItemType itemType, MyDefinitionId blueprintId, MyFixedPoint quantity)
|
||||
{
|
||||
|
||||
this.ComponentType = new ComponentType(itemType, blueprintId);
|
||||
this.Quantity = quantity;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue