public Marker GetMarkerData(string docId, string docOwner, EMarkerType markerType, string color = "black", string pos = "x=100,y=100,w=2,h=4") { return(new Marker { DocId = docId, Color = color, MarkerType = markerType, OwnerUser = docOwner, Position = pos }); }
public static void DrawMarker(EMarkerType type, Vector3 pos, Vector3 dir, Vector3 rot, Vector3 scale, Color color, bool bobUpAndDown, bool faceCamY, int unk2, bool rotateY, string textueDict, string textureName, bool drawOnEnt) { dynamic dict = 0; dynamic name = 0; if (textueDict != null && textureName != null) { if (textueDict.Length > 0 && textureName.Length > 0) { dict = textueDict; name = textureName; } } NativeFunction.Natives.DRAW_MARKER((int)type, pos.X, pos.Y, pos.Z, dir.X, dir.Y, dir.Z, rot.X, rot.Y, rot.Z, scale.X, scale.Y, scale.Z, (int)color.R, (int)color.G, (int)color.B, (int)color.A, bobUpAndDown, faceCamY, unk2, rotateY, dict, name, drawOnEnt); }
public static void DrawMarker(EMarkerType type, Vector3 pos, Vector3 dir, Vector3 rot, Vector3 scale, Color color) { DrawMarker(type, pos, dir, rot, scale, color, false, false, 2, false, null, null, false); }