public void Cache() { if (!Application.isPlaying) { return; } mCached = true; var ren = GetComponent <Renderer>(); if (ren != null) { mMatObj = gameObject.SafeAddComponent <MaterialObject>(); } if (propertyType == PropertyTypes.TexParam) { string propName = propertyName + "_ST"; propID = Shader.PropertyToID(propName); } else { propID = Shader.PropertyToID(propertyName); } }
private ServerInventoryItem GiveOreReward(MmoActor player, ContractOreDataReward oreReward) { int playerLevel = player.GetComponent <CharacterObject>().level; OreData data = null; foreach (var ore in player.resource.Materials.Ores) { if (ore.Id.Contains(playerLevel.ToString())) { data = ore; break; } } if (data != null) { MaterialObject materialObj = new MaterialObject(data.Id); int count = Rand.Int(oreReward.minCount, oreReward.maxCount); if (count > 0) { ServerInventoryItem item = new ServerInventoryItem(materialObj, count); return(item); } } return(null); }
public void Remove(MaterialObject material) { try { CheckTransaction(); new MaterialDataService(Transaction).Remove(material); if (IsOwner) { Transaction.Commit(); } } catch (Exception exception1) { if (IsOwner) { Transaction.Rollback(); } Exception innerException = exception1; throw new Exception(MethodBase.GetCurrentMethod().Name, innerException); } finally { if (IsOwner) { Connection.Close(); } } }
public void Generate() { content.Clear(); var materials = (nebulaObject.world as MmoWorld).asteroidManager.asteroidDropper.DropMaterials(data); if (materials.Count == 0) { log.ErrorFormat("Error: number of materials asteroid at world = {0} is ZERO (AsteroidData is null?)", (nebulaObject.world as MmoWorld).Name); } foreach (var matPair in materials) { if (matPair.Value > 0) { var matData = nebulaObject.world.Resource().Materials.Ore(matPair.Key); if (matData == null) { continue; } var matObject = new MaterialObject(matData.Id, Workshop.DarthTribe, 1, matData); content.Add(new AsteroidContent { Material = matObject, Count = matPair.Value }); } } if (data != null) { nebulaObject.properties.SetProperty((byte)PS.DataId, data.Id); } }
public Material(PROF_IT.Common.Enumerations.TypeForm typeForm, MaterialObject material) { try { InitializeComponent(); _material = material; _materialOriginal = material.Clone(); _typeForm = typeForm; if (_typeForm == PROF_IT.Common.Enumerations.TypeForm.NewForm) { throw new NotImplementedException(); } else { Initialize(); InitializePropertyForm(); SetPermissions(); } } catch (System.Exception exception1) { System.Exception innerException = exception1; throw new System.Exception(MethodBase.GetCurrentMethod().Name, innerException); } }
public PopupEditMaterial(String oldName, String unit) { InitializeComponent(); MaterialObject temp = new MaterialObject(); temp.Name = oldName; temp.Unit = unit; this.name = oldName; this.DataContext = temp; }
private void GenerateMaterials(string template, int count, ConcurrentDictionary <string, ServerInventoryItem> newObjects) { if (string.IsNullOrEmpty(template)) { template = resource.Materials.Ores.AnyElement().Id; } MaterialObject mat = new MaterialObject(template); newObjects.TryAdd(mat.Id, new ServerInventoryItem(mat, count)); }
/*utilizado desde el selection manager*/ public void SetInfoMaterial(MaterialObject mapping) { MaterialData material = qryMaterial.GetMaterialById(mapping.MaterialId); if (material != null) { nameLblMaterial.text = material.Name; //carga los datos especiales de la molecula en el panel especial PanelInfoLoader.SetPanelInfoMaterial(material); } }
private void btnCancel_Click(object sender, EventArgs e) { try { MaterialMember = _materialOriginal; this.Close(); } catch (System.Exception exception1) { System.Exception thisException = exception1; Management.ShowException(thisException); } }
private void AddStartItemToInventory() { Workshop workshop = (Workshop)(byte)(int)nebulaObject.Tag((byte)PlayerTags.Workshop); SchemeDropper schemeDropper = new SchemeDropper(workshop, 1, resource, ObjectColor.white); MaterialObject material = new MaterialObject("CraftOre0001", workshop, 1, resource.Materials.Ore("CraftOre0001")); SchemeObject scheme = schemeDropper.Drop() as SchemeObject; scheme.ReplaceCraftingMaterials(new Dictionary <string, int> { { "CraftOre0001", 1 } }); Inventory.Add(scheme, 1); Inventory.Add(material, 5); log.InfoFormat("adding tutorial crafting materials at start yellow"); }
public void AddChilds(MaterialObject material) { try { material.Memos = new BL.Internal.Memo().GetMemosByMaterialID(material); material.Maintenances = new BL.Internal.Maintenance().GetMaintenancesByMaterialID(material); material.ChildsAdded = true; } catch (Exception exception1) { Exception innerException = exception1; throw new Exception(MethodBase.GetCurrentMethod().Name, innerException); } }
public override void BeforeCalculate() { CasterLogger.Debug("BeforeCalculate"); //Get material connected to this unit inputMaterial = ((CapeMaterialPort)UnitOp.Ports["feed"]).Material.Duplicate(); outputMaterial = inputMaterial.Duplicate(); //collections = (CapeEnergyPort) UnitOp.Ports["energy"]; //double b = collections.Work; //Initialize the output Parameters //Warning!! For Parameters, do not use ParamTout=ParamT, use the value property ParamT = ((CapeRealParameter)UnitOp.Parameters["T"]).SIValue; ParamP = ((CapeRealParameter)UnitOp.Parameters["P"]).SIValue; CasterLogger.Debug($"Calculation Parameters: T {ParamT} P {ParamP}"); }
public void Save(MaterialObject material) { string test = ""; if (material.PurchasedOn == DateTime.MinValue) { test = PROF_IT.Common.Convert.DateFunctions.DateToStrDate(material.PurchasedOn); } SqlCommand cmd = null; try { ExecuteNonQuery(out cmd, false, "Material_SAVE", CreateParameter("@matID", SqlDbType.UniqueIdentifier, material.MatID, ParameterDirection.InputOutput), CreateParameter("@matcatID", SqlDbType.UniqueIdentifier, material.MaterialCategory == null ? Guid.Empty : material.MaterialCategory.MatcatID), CreateParameter("@mattypID", SqlDbType.UniqueIdentifier, material.MaterialType == null ? Guid.Empty : material.MaterialType.MatTypID), CreateParameter("@matstypID", SqlDbType.UniqueIdentifier, material.MaterialSubType == null ? Guid.Empty : material.MaterialSubType.MatStypID), CreateParameter("@empIDCreator", SqlDbType.UniqueIdentifier, material.EmployeeCreator == null ? Guid.Empty : material.EmployeeCreator.EmpID), CreateParameter("@empIDResponsable", SqlDbType.UniqueIdentifier, material.EmployeeResponsable == null ? Guid.Empty : material.EmployeeResponsable.EmpID), CreateParameter("@vehID", SqlDbType.UniqueIdentifier, material.Vehicle == null ? Guid.Empty : material.Vehicle.VehID), CreateParameter("@supID", SqlDbType.UniqueIdentifier, material.Supplier == null ? Guid.Empty : material.Supplier.SupID), CreateParameter("@Name", SqlDbType.NChar, material.Name), CreateParameter("@Description", SqlDbType.VarChar, material.Description), CreateParameter("@Type", SqlDbType.Int, (int)material.Type), CreateParameter("@SerieNumber", SqlDbType.NChar, material.SerieNumber), CreateParameter("@InternalNumber", SqlDbType.NChar, material.InternalNumber), CreateParameter("@PurchasedOn", SqlDbType.VarChar, material.PurchasedOn == DateTime.MinValue ? null : PROF_IT.Common.Convert.DateFunctions.DateToStrDate(material.PurchasedOn)), CreateParameter("@Price", SqlDbType.Decimal, material.Price), CreateParameter("@NextMaintenance", SqlDbType.VarChar, material.NextMaintenance == DateTime.MinValue ? null : PROF_IT.Common.Convert.DateFunctions.DateToStrDate(material.NextMaintenance)), CreateParameter("@MaintenanceFrequency", SqlDbType.Int, material.MaintenanceFrequency), CreateParameter("@Broken", SqlDbType.Bit, material.Broken), CreateParameter("@Active", SqlDbType.Bit, material.Active) ); material.MatID = (Guid)cmd.Parameters["@matID"].Value; } catch (Exception exception1) { Exception innerException = exception1; throw new Exception(MethodBase.GetCurrentMethod().Name, innerException); } finally { if (cmd != null) { cmd.Dispose(); } cmd = null; } }
public MemoObjectCollection GetMemosByMaterialID(MaterialObject material) { MemoObjectCollection memos; try { memos = new MemoDataService().GetMemosByMaintenanceID(material); } catch (System.Exception exception1) { System.Exception innerException = exception1; throw new System.Exception(MethodBase.GetCurrentMethod().Name, innerException); } return(memos); }
private void gdvMaterial_DoubleClick(object sender, EventArgs e) { try { GridView view = (GridView)sender; MaterialObject materialObj = (MaterialObject)view.GetRow(view.FocusedRowHandle); Material material = new Material(PROF_IT.Common.Enumerations.TypeForm.PropertyForm, materialObj); material.ShowDialog(); FindAll(); } catch (System.Exception excepion1) { System.Exception thisException = excepion1; Management.ShowException(thisException); } }
private void gdvMaterial_MasterRowExpanding(object sender, MasterRowCanExpandEventArgs e) { try { GridView view = (GridView)sender; MaterialObject materialObj = (MaterialObject)view.GetRow(view.FocusedRowHandle); if (!materialObj.ChildsAdded) { new TIS.BL.Internal.Material().AddChilds(materialObj); } } catch (System.Exception exception1) { System.Exception thisException = exception1; Management.ShowException(thisException); } }
void IEditableObject.EndEdit() { try { if (_inTxn) { _loadedMaterial = Material; _loadedMemo = Memo; _loadedDateTime = DateTime; _inTxn = true; } } catch (Exception exception1) { Exception innerException = exception1; throw new Exception(MethodBase.GetCurrentMethod().Name, innerException); } }
public bool PVFFlash(double P, double vaporFraction, MaterialObject[] feeds, out MaterialObject product) { if (feeds.Length == 0) { product = null; return(false); } product = feeds[0].Duplicate(); product.P = P; double totalFlow; Dictionary <string, double> composition; MergeInputMaterial(feeds, out totalFlow, out composition); product.TotalFlow = totalFlow; product.Composition = composition; product.VaporFraction = vaporFraction; product.DoPVFlash(); return(true); }
public bool PHFlash(double P, double heatDuty, MaterialObject[] feeds, out MaterialObject product) { if (feeds.Length == 0) { product = null; return(false); } product = feeds[0].Duplicate(); product.P = P; double totalFlow; Dictionary <string, double> composition; MergeInputMaterial(feeds, out totalFlow, out composition); product.TotalFlow = totalFlow; product.Composition = composition; product.Enthalpy = feeds.Sum(m => m.Enthalpy) + heatDuty; product.DoPHFlash(); return(true); }
public MemoObjectCollection GetMemosByMaintenanceID(MaterialObject material) { MemoObjectCollection memos = new MemoObjectCollection(); QueryBuilder builder; try { builder = new QueryBuilder(); builder.Append(this.BaseQuery(false, 0)); builder.AppendWhereString(MemoObject.MAT_ID, material.MatID.ToString(), QueryBuilder.ComparisonOperators.Equal, QueryBuilder.ParameterLocation.FIRST); builder.Append("AND " + MemoObject.MAT_ID + " is not null "); memos = MemoConvertor.DataTableToCollection(this.ExecuteDataSet(builder.Query, false).Tables[0]); } catch (System.Exception exception1) { throw new Exception(MethodBase.GetCurrentMethod().Name, exception1); } return(memos); }
void IEditableObject.EndEdit() { try { if (_inTxn) { _loadedMaintenanceVehicle = MaintenanceVehicle; _loadedMaterial = Material; _loadedExecutor = Executor; _loadedRemark = Remark; _loadedStartMaintenance = StartMaintenance; _loadedMaterialRevisions = MaterialRevisions; _inTxn = true; } } catch (Exception exception1) { Exception innerException = exception1; throw new Exception(MethodBase.GetCurrentMethod().Name, innerException); } }
public Maintenance(PROF_IT.Common.Enumerations.TypeForm typeForm, MaterialObject material) { try { InitializeComponent(); _typeForm = typeForm; if (_typeForm == PROF_IT.Common.Enumerations.TypeForm.NewForm) { Material = material; Initialize(); } else { throw new NotImplementedException(); } } catch (System.Exception exception1) { System.Exception innerException = exception1; throw new System.Exception(MethodBase.GetCurrentMethod().Name, innerException); } }
private void Awake() { material = gameObject.SafeAddComponent <MaterialObject>(); if (frameCount <= 0) { realFrameCount = xTiles * yTiles; } else { realFrameCount = frameCount; } timePerFrame = (1.0f / frameRate); string textureSTPropName = texturePropName + "_ST"; texturePropID = Shader.PropertyToID(textureSTPropName); textureST = material.GetVector(texturePropID); textureST.x = 1.0f / xTiles; textureST.y = 1.0f / yTiles; }
private void modelListBox_SelectionChanged(object sender, SelectionChangedEventArgs e) { if (modelListBox.SelectedItem != null) { String itemName = (String)modelListBox.SelectedItem; if (Path.GetExtension(itemName) == ".msh") { GFF tempGFF = ResourceManager.findFile <GFF>(itemName); if (tempGFF != null) { renderer.clearOverlays(); renderer.overlayText(tempGFF.path); renderer.showOverlays(); renderer.displayModel(new ModelMesh(tempGFF)); } else { Console.WriteLine("Couldn't find {0}", itemName); } } else if (Path.GetExtension(itemName) == ".mmh") { GFF tempGFF = ResourceManager.findFile <GFF>(itemName); if (tempGFF != null) { ModelHierarchy mh = new ModelHierarchy(tempGFF); if (mh.loadedMesh) { renderer.clearOverlays(); renderer.overlayText(mh.mmhName); renderer.showOverlays(); renderer.displayModel(mh.mesh); } else { Console.WriteLine("Couldn't load mesh {0} for {1}", mh.mshName, mh.mmhName); } } else { Console.WriteLine("Couldn't find {0}", itemName); } } else if (Path.GetExtension(itemName) == ".dds") { try { DDS texture = ResourceManager.findFile <DDS>(itemName); if (texture != null) { renderer.displayDDS(texture); } else { Console.WriteLine("Couldn't find {0}", itemName); } } catch (NotImplementedException ex) { Console.WriteLine(ex.Message); } } else if (Path.GetExtension(itemName) == ".mao") { MaterialObject mao = ResourceManager.findFile <MaterialObject>(itemName); } } }
private void RewardItemImpl(InventoryItemQuestReward reward) { ServerInventoryItem targetItem = null; switch (reward.ObjectType) { case InventoryObjectType.Material: { MaterialItemQuestReward materialReward = reward as MaterialItemQuestReward; if (materialReward != null) { MaterialObject material = new MaterialObject(materialReward.OreId); targetItem = new ServerInventoryItem(material, materialReward.Count); } } break; case InventoryObjectType.Scheme: { SchemeItemQuestReward schemeReward = reward as SchemeItemQuestReward; if (schemeReward != null) { SchemeObject scheme = new SchemeObject(new SchemeObject.SchemeInitData( id: Guid.NewGuid().ToString(), name: string.Empty, level: PlayerLevel, workshop: PlayerWorkshop, templateModuleId: resource.ModuleTemplates.Module(PlayerWorkshop, schemeReward.Slot).Id, color: schemeReward.Color, craftingMaterials: new Dictionary <string, int>(), inSetID: string.Empty )); targetItem = new ServerInventoryItem(scheme, schemeReward.Count); } } break; case InventoryObjectType.Weapon: { WeaponItemQuestReward weaponReward = reward as WeaponItemQuestReward; if (weaponReward != null) { WeaponDropper.WeaponDropParams weaponDropParams = new WeaponDropper.WeaponDropParams( resource: resource, level: PlayerLevel, workshop: PlayerWorkshop, damageType: WeaponDamageType.damage, difficulty: Difficulty.none ); ColorInfo colorInfo = resource.ColorRes.Color(ColoredObjectType.Weapon, weaponReward.Color); DropManager dropManager = DropManager.Get(resource); WeaponDropper weaponDropper = dropManager.GetWeaponDropper(dropParams: weaponDropParams); WeaponObject weapon = weaponDropper.DropWeapon(colorInfo); targetItem = new ServerInventoryItem(weapon, weaponReward.Count); } } break; } if (targetItem != null) { GetComponent <MmoActor>()?.AddToStationInventory(item: targetItem, sendUpdateEvent: true); } }
public ComponentMaterial(MaterialObject objectMat) { m_ObjectMat = objectMat; }
//private List<GameObject> objects public void GenerateLayer(RoomData room) { // Destroy all objects in here... foreach (KeyValuePair <string, LayerObject> item in layerObjects) { item.Value.destroy(); } layerObjects = new Dictionary <string, LayerObject>(); foreach (ItemData item in Items) { // Ok this generates tiles.. f**k them if ( layerType == Constants.LAYER_TYPES.BACKGROUND_1 || layerType == Constants.LAYER_TYPES.BACKGROUND_2 || layerType == Constants.LAYER_TYPES.FOREGROUND_1 || layerType == Constants.LAYER_TYPES.FOREGROUND_2 ) { if (layerObjects.ContainsKey(item.SpriteSheet)) { LayerObject mo = layerObjects[item.SpriteSheet]; mo.addItem(item); } else { GameObject mogobj = new GameObject(); mogobj.transform.parent = room.getRoomObject().transform; mogobj.name = layerType + "_" + item.SpriteSheet; MaterialObject mo = (MaterialObject)mogobj.AddComponent(typeof(MaterialObject)); mo.spriteSheetName = item.SpriteSheet; mo.spriteSheetPath = item.SheetPath; mo.posx = room.PositionX; mo.posy = room.PositionY; mo.posz = Constants.LayerNameToZIndex(this.layerType); mo.height = room.Height; mo.width = room.Width; mo.gameObject.SetActive(this.active); mo.addItem(item); layerObjects.Add(item.SpriteSheet, mo); } // Colliders work differently...in that, we will have a new object for every collider... } else if (layerType == Constants.LAYER_TYPES.COLLIDERS) { GameObject colObj = new GameObject(); colObj.transform.position = new Vector3(item.PositionX, item.PositionY, Constants.LayerNameToZIndex(this.layerType)); colObj.transform.parent = room.getRoomObject().transform; float height = 32 * item.ScaleY; float width = 32 * item.ScaleX; float offset = 0; colObj.layer = Constants.COLLIDER_BOX_LAYER; if (item.Rotation != 0) { colObj.tag = Constants.TAG_COLLIDER_STAIR; Vector3 bottomLeft = new Vector3(colObj.transform.position.x, colObj.transform.position.y + 16, 0); Vector3 topRight = new Vector3(colObj.transform.position.x + width, colObj.transform.position.y + height + 16, 0); offset = Vector3.Distance(bottomLeft, topRight); if (height > width) { colObj.transform.localScale = new Vector3(width, offset, Constants.ColliderZSize); } else { colObj.transform.localScale = new Vector3(offset, height, Constants.ColliderZSize); } } else { colObj.tag = Constants.TAG_COLLIDER_BOX; colObj.transform.localScale = new Vector3(width, height, Constants.ColliderZSize); } colObj.name = "Collider_" + item.PositionX + "_" + item.PositionY; BoxCollider bc = (BoxCollider)colObj.AddComponent(typeof(BoxCollider)); bc.isTrigger = false; bc.center = new Vector3(.5f, .5f, 1.5f); Sprite so = (Sprite)colObj.AddComponent(typeof(Sprite)); so.auto_resize = false; so.setSpriteSheetName(item.SpriteSheet); so.setSpriteSheetPath(item.SheetPath); so.setRotation(item.Rotation); so.setScaleX(item.ScaleX); so.setScaleY(item.ScaleY); so.setScaleZ(Constants.ColliderZSize); so.setTargetFrame(item.TargetFrame); // new sprite, we need to set all of the pertinant values.... layerObjects.Add(colObj.name, so); } } //Colliders are more fun... //if(){ //} //if(this.layerType == Constants.LAYER_TYPES.BACKGROUND_1){ // Debug.Log("Generate Layer: Count: " + thisLayerMaterialObjects.Count); //} }
public void upload(ref List <VBO> vboList, ref Dictionary <String, int> textureList) { //Make VBOs of each chunk foreach (MeshChunk m in model.chunks) { int vb, eb, tb = 0; GL.GenBuffers(1, out vb); GL.GenBuffers(1, out eb); //find texture buffer //* if (m.materialObjectName != "") { MaterialObject mao = ResourceManager.findFile <MaterialObject>(m.materialObjectName); if (mao != null) { if (mao.textures.ContainsKey(TextureType.Diffuse)) { //if we havent already added it to the dictionary if (!textureList.ContainsKey(mao.textures[TextureType.Diffuse])) { int buffer = 0; //find the file and then make a buffer out of it then add it to the dictionary DDS dds = ResourceManager.findFile <DDS>(mao.textures[TextureType.Diffuse]); if (dds != null) { DDSUploader temp = new DDSUploader(dds); buffer = temp.uploadTexture(); } else { Console.WriteLine("Couldn't find texture {0}", mao.textures[TextureType.Diffuse]); } textureList.Add(mao.textures[TextureType.Diffuse], buffer); } tb = textureList[mao.textures[TextureType.Diffuse]]; } else { Console.WriteLine("Material object {0} doesn't have a diffuse texture", m.materialObjectName); } } else { Console.WriteLine("Couldn't find material object {0}", m.materialObjectName); } } //*/ VBO curVBO = new VBO(vb, eb, tb, 8, m.indices.Length); vboList.Add(curVBO); GL.BindBuffer(BufferTarget.ArrayBuffer, curVBO.vertexBuffer); GL.BindBuffer(BufferTarget.ElementArrayBuffer, curVBO.elementBuffer); GL.BufferData(BufferTarget.ArrayBuffer, (IntPtr)(m.verts.Length * sizeof(float)), m.verts, BufferUsageHint.StaticDraw); GL.BufferData(BufferTarget.ElementArrayBuffer, (IntPtr)(curVBO.indexElementCount * sizeof(uint)), m.indices, BufferUsageHint.StaticDraw); GL.BindBuffer(BufferTarget.ArrayBuffer, 0); GL.BindBuffer(BufferTarget.ElementArrayBuffer, 0); } }
/// <summary> /// Container Class for all the properties for organization. /// </summary> /// <param name="c"></param> public TorqueScriptTemplate(ref dnTorque c) { m_ts = c; _mConsoleobject = new ConsoleObject(ref c); _mMathobject = new tMath(ref c); _mUtil = new UtilObject(ref c); _mHTTPObject = new HTTPObjectObject(ref c); _mTCPObject = new TCPObjectObject(ref c); _mDynamicConsoleMethodComponent = new DynamicConsoleMethodComponentObject(ref c); _mSimComponent = new SimComponentObject(ref c); _mArrayObject = new ArrayObjectObject(ref c); _mConsoleLogger = new ConsoleLoggerObject(ref c); _mFieldBrushObject = new FieldBrushObjectObject(ref c); _mPersistenceManager = new PersistenceManagerObject(ref c); _mSimDataBlock = new SimDataBlockObject(ref c); _mSimObject = new SimObjectObject(ref c); _mSimPersistSet = new SimPersistSetObject(ref c); _mSimSet = new SimSetObject(ref c); _mSimXMLDocument = new SimXMLDocumentObject(ref c); _mFileObject = new FileObjectObject(ref c); _mFileStreamObject = new FileStreamObjectObject(ref c); _mStreamObject = new StreamObjectObject(ref c); _mZipObject = new ZipObjectObject(ref c); _mDecalRoad = new DecalRoadObject(ref c); _mMeshRoad = new MeshRoadObject(ref c); _mRiver = new RiverObject(ref c); _mScatterSky = new ScatterSkyObject(ref c); _mSkyBox = new SkyBoxObject(ref c); _mSun = new SunObject(ref c); _mGuiRoadEditorCtrl = new GuiRoadEditorCtrlObject(ref c); _mForest = new ForestObject(ref c); _mForestWindEmitter = new ForestWindEmitterObject(ref c); _mForestBrush = new ForestBrushObject(ref c); _mForestBrushTool = new ForestBrushToolObject(ref c); _mForestEditorCtrl = new ForestEditorCtrlObject(ref c); _mForestSelectionTool = new ForestSelectionToolObject(ref c); _mCubemapData = new CubemapDataObject(ref c); _mDebugDrawer = new DebugDrawerObject(ref c); _mGuiTSCtrl = new GuiTSCtrlObject(ref c); _mGuiBitmapButtonCtrl = new GuiBitmapButtonCtrlObject(ref c); _mGuiButtonBaseCtrl = new GuiButtonBaseCtrlObject(ref c); _mGuiCheckBoxCtrl = new GuiCheckBoxCtrlObject(ref c); _mGuiIconButtonCtrl = new GuiIconButtonCtrlObject(ref c); _mGuiSwatchButtonCtrl = new GuiSwatchButtonCtrlObject(ref c); _mGuiToolboxButtonCtrl = new GuiToolboxButtonCtrlObject(ref c); _mGuiAutoScrollCtrl = new GuiAutoScrollCtrlObject(ref c); _mGuiDynamicCtrlArrayControl = new GuiDynamicCtrlArrayControlObject(ref c); _mGuiFormCtrl = new GuiFormCtrlObject(ref c); _mGuiFrameSetCtrl = new GuiFrameSetCtrlObject(ref c); _mGuiPaneControl = new GuiPaneControlObject(ref c); _mGuiRolloutCtrl = new GuiRolloutCtrlObject(ref c); _mGuiScrollCtrl = new GuiScrollCtrlObject(ref c); _mGuiStackControl = new GuiStackControlObject(ref c); _mGuiTabBookCtrl = new GuiTabBookCtrlObject(ref c); _mGuiBitmapCtrl = new GuiBitmapCtrlObject(ref c); _mGuiColorPickerCtrl = new GuiColorPickerCtrlObject(ref c); _mGuiDirectoryFileListCtrl = new GuiDirectoryFileListCtrlObject(ref c); _mGuiFileTreeCtrl = new GuiFileTreeCtrlObject(ref c); _mGuiGameListMenuCtrl = new GuiGameListMenuCtrlObject(ref c); _mGuiGameListOptionsCtrl = new GuiGameListOptionsCtrlObject(ref c); _mGuiGradientCtrl = new GuiGradientCtrlObject(ref c); _mGuiListBoxCtrl = new GuiListBoxCtrlObject(ref c); _mGuiMaterialCtrl = new GuiMaterialCtrlObject(ref c); _mGuiMLTextCtrl = new GuiMLTextCtrlObject(ref c); _mGuiPopUpMenuCtrl = new GuiPopUpMenuCtrlObject(ref c); _mGuiPopUpMenuCtrlEx = new GuiPopUpMenuCtrlExObject(ref c); _mGuiSliderCtrl = new GuiSliderCtrlObject(ref c); _mGuiTabPageCtrl = new GuiTabPageCtrlObject(ref c); _mGuiTextCtrl = new GuiTextCtrlObject(ref c); _mGuiTextEditCtrl = new GuiTextEditCtrlObject(ref c); _mGuiTextListCtrl = new GuiTextListCtrlObject(ref c); _mGuiTreeViewCtrl = new GuiTreeViewCtrlObject(ref c); _mGuiCanvas = new GuiCanvasObject(ref c); _mGuiControl = new GuiControlObject(ref c); _mGuiControlProfile = new GuiControlProfileObject(ref c); _mDbgFileView = new DbgFileViewObject(ref c); _mGuiEditCtrl = new GuiEditCtrlObject(ref c); _mGuiFilterCtrl = new GuiFilterCtrlObject(ref c); _mGuiGraphCtrl = new GuiGraphCtrlObject(ref c); _mGuiImageList = new GuiImageListObject(ref c); _mGuiInspector = new GuiInspectorObject(ref c); _mGuiInspectorTypeFileName = new GuiInspectorTypeFileNameObject(ref c); _mGuiInspectorTypeBitMask32 = new GuiInspectorTypeBitMask32Object(ref c); _mGuiMenuBar = new GuiMenuBarObject(ref c); _mGuiParticleGraphCtrl = new GuiParticleGraphCtrlObject(ref c); _mGuiShapeEdPreview = new GuiShapeEdPreviewObject(ref c); _mGuiInspectorDynamicField = new GuiInspectorDynamicFieldObject(ref c); _mGuiInspectorDynamicGroup = new GuiInspectorDynamicGroupObject(ref c); _mGuiInspectorField = new GuiInspectorFieldObject(ref c); _mGuiVariableInspector = new GuiVariableInspectorObject(ref c); _mGuiMessageVectorCtrl = new GuiMessageVectorCtrlObject(ref c); _mGuiProgressBitmapCtrl = new GuiProgressBitmapCtrlObject(ref c); _mGuiTickCtrl = new GuiTickCtrlObject(ref c); _mGuiTheoraCtrl = new GuiTheoraCtrlObject(ref c); _mMessageVector = new MessageVectorObject(ref c); _mEditTSCtrl = new EditTSCtrlObject(ref c); _mGuiMissionAreaCtrl = new GuiMissionAreaCtrlObject(ref c); _mMECreateUndoAction = new MECreateUndoActionObject(ref c); _mMEDeleteUndoAction = new MEDeleteUndoActionObject(ref c); _mWorldEditor = new WorldEditorObject(ref c); _mLangTable = new LangTableObject(ref c); _mPathedInterior = new PathedInteriorObject(ref c); _mMaterial = new MaterialObject(ref c); _mSimResponseCurve = new SimResponseCurveObject(ref c); _mMenuBar = new MenuBarObject(ref c); _mPopupMenu = new PopupMenuObject(ref c); _mFileDialog = new FileDialogObject(ref c); _mPostEffect = new PostEffectObject(ref c); _mRenderBinManager = new RenderBinManagerObject(ref c); _mRenderPassManager = new RenderPassManagerObject(ref c); _mRenderPassStateToken = new RenderPassStateTokenObject(ref c); _mSceneObject = new SceneObjectObject(ref c); _mSFXController = new SFXControllerObject(ref c); _mSFXParameter = new SFXParameterObject(ref c); _mSFXProfile = new SFXProfileObject(ref c); _mSFXSource = new SFXSourceObject(ref c); _mActionMap = new ActionMapObject(ref c); _mNetConnection = new NetConnectionObject(ref c); _mNetObject = new NetObjectObject(ref c); _mAIClient = new AIClientObject(ref c); _mAIConnection = new AIConnectionObject(ref c); _mAIPlayer = new AIPlayerObject(ref c); _mCamera = new CameraObject(ref c); _mDebris = new DebrisObject(ref c); _mGroundPlane = new GroundPlaneObject(ref c); _mGuiMaterialPreview = new GuiMaterialPreviewObject(ref c); _mGuiObjectView = new GuiObjectViewObject(ref c); _mItem = new ItemObject(ref c); _mLightBase = new LightBaseObject(ref c); _mLightDescription = new LightDescriptionObject(ref c); _mLightFlareData = new LightFlareDataObject(ref c); _mMissionArea = new MissionAreaObject(ref c); _mSpawnSphere = new SpawnSphereObject(ref c); _mPathCamera = new PathCameraObject(ref c); _mPhysicalZone = new PhysicalZoneObject(ref c); _mPlayer = new PlayerObject(ref c); _mPortal = new PortalObject(ref c); _mProjectile = new ProjectileObject(ref c); _mProximityMine = new ProximityMineObject(ref c); _mShapeBaseData = new ShapeBaseDataObject(ref c); _mShapeBase = new ShapeBaseObject(ref c); _mStaticShape = new StaticShapeObject(ref c); _mTrigger = new TriggerObject(ref c); _mTSStatic = new TSStaticObject(ref c); _mZone = new ZoneObject(ref c); _mRenderMeshExample = new RenderMeshExampleObject(ref c); _mLightning = new LightningObject(ref c); _mParticleData = new ParticleDataObject(ref c); _mParticleEmitterData = new ParticleEmitterDataObject(ref c); _mParticleEmitterNode = new ParticleEmitterNodeObject(ref c); _mPrecipitation = new PrecipitationObject(ref c); _mGameBase = new GameBaseObject(ref c); _mGameConnection = new GameConnectionObject(ref c); _mPhysicsDebrisData = new PhysicsDebrisDataObject(ref c); _mPhysicsForce = new PhysicsForceObject(ref c); _mPhysicsShape = new PhysicsShapeObject(ref c); _mAITurretShape = new AITurretShapeObject(ref c); _mTurretShape = new TurretShapeObject(ref c); _mFlyingVehicle = new FlyingVehicleObject(ref c); _mWheeledVehicle = new WheeledVehicleObject(ref c); _mTerrainBlock = new TerrainBlockObject(ref c); _mSettings = new SettingsObject(ref c); _mCompoundUndoAction = new CompoundUndoActionObject(ref c); _mUndoManager = new UndoManagerObject(ref c); _mUndoAction = new UndoActionObject(ref c); _mEventManager = new EventManagerObject(ref c); _mMessage = new MessageObject(ref c); }