public virtual IContentFeatures getDef(string name)
    {
        IContentFeatures ret = new IContentFeatures(mcworld_client_corePINVOKE.INodeDefManager_getDef__SWIG_2(swigCPtr, name), false);

        if (mcworld_client_corePINVOKE.SWIGPendingException.Pending)
        {
            throw mcworld_client_corePINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
    public virtual IContentFeatures getDef(ushort c)
    {
        IContentFeatures ret = new IContentFeatures(mcworld_client_corePINVOKE.INodeDefManager_getDef__SWIG_0(swigCPtr, c), false);

        return(ret);
    }
Exemplo n.º 3
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(IContentFeatures obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }