Welcome to Keen Software House Forums! Log in or Sign up to interact with the KSH community.
  1. You are currently browsing our forum as a guest. Create your own forum account to access all forum functionality.

Look for MyDefinitionId' ClassLibrary

Discussion in 'Programming Questions and Suggestions' started by BobbySix, Mar 18, 2017.

Thread Status:
This last post in this thread was made more than 31 days old.
  1. BobbySix Trainee Engineer

    Messages:
    32
    Hi everyone,

    I can use MyDefinitionId class in game but impossible to get it with VisualStudio, while using many Libraries.

    Code:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    
    using Sandbox;
    using Sandbox.Common;
    using Sandbox.Common.ObjectBuilders;
    using Sandbox.Definitions;
    using Sandbox.Engine;
    using Sandbox.Game;
    //using Sandbox.ModAPI;
    using Sandbox.ModAPI.Ingame;
    using Sandbox.ModAPI.Interfaces;
    using Sandbox.Game.Components;
    using Sandbox.ModAPI.Weapons;
    using Sandbox.ModAPI.Interfaces.Terminal;
    using Sandbox.ObjectBuilders;
    using Sandbox.AppCode;
    using Sandbox.Game.EntityComponents;
    
    using VRage.Game.ModAPI.Ingame;
    
    namespace Scripts {
      
        class StatusReport {
            MyDefinitionId component = new MyDefinitionId();  // -> type not found :'( 
    }
    }

    Anyone know which Library Call to use this Class ?
     
Thread Status:
This last post in this thread was made more than 31 days old.