using Decal.Interop.D3DService; namespace Decal.Adapter.Wrappers; public class D3DService : GenericDisposableWrapper { internal D3DService(CService obj) : base(obj) { } protected override void Dispose(bool userCalled) { base.Dispose(userCalled); } /// /// Makes a new D3DObj /// public D3DObj NewD3DObj() { return new D3DObj(base.Wrapped.NewD3DObj()); } /// /// Creates an arrow that points to an object /// /// Object ID /// Color public D3DObj PointToObject(int guid, int color) { return new D3DObj(base.Wrapped.PointToObject(guid, color)); } /// /// Creates an arrow that points to specified Coordinates /// /// Latitude /// Longitude /// Altitude /// Color public D3DObj PointToCoords(float lat, float lng, float alt, int color) { return new D3DObj(base.Wrapped.PointToCoords(lat, lng, alt, color)); } /// /// Mark an Object with an Icon /// /// Object ID /// Portal.dat Icon public D3DObj MarkObjectWithIcon(int guid, int icon) { return new D3DObj(base.Wrapped.MarkObjectWithIcon(guid, icon)); } /// /// Mark an Object with a Shape /// /// Object ID /// D3DShape /// Color public D3DObj MarkObjectWithShape(int guid, D3DShape shape, int color) { return new D3DObj(base.Wrapped.MarkObjectWithShape(guid, (eShape)shape, color)); } /// /// Mark an Object with a Shape /// /// Object ID /// Mesh filename /// Color public D3DObj MarkObjectWithShapeFromFile(int guid, string filename, int color) { return new D3DObj(base.Wrapped.MarkObjectWithShapeFromFile(guid, filename, color)); } /// /// Mark an Object with 2DText /// /// Object ID /// Text /// Font /// zero or more option flags from DecalPlugins::eFontOptions public D3DObj MarkObjectWith2DText(int guid, string szText, string szFont, int options) { return new D3DObj(base.Wrapped.MarkObjectWith2DText(guid, szText, szFont, options)); } /// /// Mark an Object with 3DText /// /// Object ID /// Text /// Font /// zero or more option flags from DecalPlugins::eFontOptions public D3DObj MarkObjectWith3DText(int guid, string szText, string szFont, int options) { return new D3DObj(base.Wrapped.MarkObjectWith3DText(guid, szText, szFont, options)); } /// /// Mark specified Coordinates with Icon /// /// Latitude /// Longitude /// Altitude /// Portal.dat Icon public D3DObj MarkCoordsWithIcon(float lat, float lng, float alt, int icon) { return new D3DObj(base.Wrapped.MarkCoordsWithIcon(lat, lng, alt, icon)); } /// /// Mark specified Coordinates with Icon /// /// Latitude /// Longitude /// Altitude /// Icon filename public D3DObj MarkCoordsWithIconFromFile(float lat, float lng, float alt, string file) { return new D3DObj(base.Wrapped.MarkCoordsWithIconFromFile(lat, lng, alt, file)); } /// /// Mark specified Coordinates with Shape /// /// Latitude /// Longitude /// Altitude /// D3DShape /// Color public D3DObj MarkCoordsWithShape(float lat, float lng, float alt, D3DShape shape, int color) { return new D3DObj(base.Wrapped.MarkCoordsWithShape(lat, lng, alt, (eShape)shape, color)); } /// /// Mark specified Coordinates with Shape /// /// Latitude /// Longitude /// Altitude /// Mesh filename /// Color public D3DObj MarkCoordsWithShapeFromFile(float lat, float lng, float alt, string file, int color) { return new D3DObj(base.Wrapped.MarkCoordsWithShapeFromFile(lat, lng, alt, file, color)); } /// /// Mark specified Coordinates with 2DText /// /// Latitude /// Longitude /// Altitude /// Text /// Font /// zero or more option flags from DecalPlugins::eFontOptions public D3DObj MarkCoordsWith2DText(float lat, float lng, float alt, string szText, string szFont, int options) { return new D3DObj(base.Wrapped.MarkCoordsWith2DText(lat, lng, alt, szText, szFont, options)); } /// /// Mark specified Coordinates with 3DText /// /// Latitude /// Longitude /// Altitude /// Text /// Font /// zero or more option flags from DecalPlugins::eFontOptions public D3DObj MarkCoordsWith3DText(float lat, float lng, float alt, string szText, string szFont, int options) { return new D3DObj(base.Wrapped.MarkCoordsWith3DText(lat, lng, alt, szText, szFont, options)); } }