KeenSoftwareHouse / SpaceEngineers

2.94k stars 894 forks source link

[Bug/Glitch] IMyProjector interface contains RemainingBlocksPerType method returning inaccessible MyDefinitionBase class #594

Open merlin2v opened 6 years ago

merlin2v commented 6 years ago

The IMyProjector interface returns a Dictionary<MyDefinitionBase, int>. However, unless there is some other way to use this, it becomes a useless method to access from the In-Game Script API as the MyDefinitionBase is prohibited.

    /// <summary>
    /// A comprehensive list of blocks left to be welded
    /// </summary>
    Dictionary<MyDefinitionBase, int> RemainingBlocksPerType { get; }

image Also I found that the method, RemainingBlocksPerType, is not used except for when it is being implemented by the MyProjectorBase_ModAPI.