internal NFSCurvedPanel(Object a) { actualNFSCurvedPanel = a; TotalEnergyRateField = NFSCurvedsolarPanelType.GetField("TotalEnergyRate"); EnergyFlowField = NFSCurvedsolarPanelType.GetField("EnergyFlow"); StateField = NFSCurvedsolarPanelType.GetField("State"); DeployMethod = NFSCurvedsolarPanelType.GetMethod("Deploy", BindingFlags.Public | BindingFlags.Instance); RetractMethod = NFSCurvedsolarPanelType.GetMethod("Retract", BindingFlags.Public | BindingFlags.Instance); }
internal NFSCurvedPanel(System.Object a) { actualNFSCurvedPanel = a; DeployMethod = NFSCurvedsolarPanelType.GetMethod("Deploy", BindingFlags.Public | BindingFlags.Instance); RetractMethod = NFSCurvedsolarPanelType.GetMethod("Retract", BindingFlags.Public | BindingFlags.Instance); animationName = NFSCurvedsolarPanelType.GetField("DeployAnimation"); deployState = NFSCurvedsolarPanelType.GetProperty("State"); Deployable = NFSCurvedsolarPanelType.GetField("Deployable"); }