Scripting:CodeTranslation
From STNE Wiki
(Difference between revisions)
(→Class names without members) |
(→Class members (non inherited only)) |
||
| Line 253: | Line 253: | ||
{| | {| | ||
! colspan="2" | Enum EAlarmStufe => EAlertLevel | ! colspan="2" | Enum EAlarmStufe => EAlertLevel | ||
| - | |||
| - | |||
|- | |- | ||
| Static Var Gelb As EAlarmStufe || Yellow | | Static Var Gelb As EAlarmStufe || Yellow | ||
| Line 263: | Line 261: | ||
|- | |- | ||
| Var value__ As Integer || | | Var value__ As Integer || | ||
| + | |} | ||
| + | |||
| + | |||
| + | {| | ||
| + | ! colspan="2" | Enum EAutoPilotTyp => EAutoPilotType | ||
| + | |- | ||
| + | | Static Var Energie As EAutoPilotTyp || EnergyEfficient | ||
| + | |- | ||
| + | | Static Var Gondeln As EAutoPilotTyp || EngineEfficient | ||
| + | |- | ||
| + | | Var value__ As Byte || | ||
| + | |} | ||
| + | |||
| + | |||
| + | {| | ||
| + | !colspan="2" | Enum EBeamRessource => EBeamResource | ||
| + | |- | ||
| + | | Static Var Antimaterie As EBeamRessource || Antimatter | ||
| + | |- | ||
| + | | Static Var Baumaterial As EBeamRessource || Plasteel | ||
| + | |- | ||
| + | | Static Var Credits As EBeamRessource || | ||
| + | |- | ||
| + | | Static Var Crew As EBeamRessource || | ||
| + | |- | ||
| + | | Static Var Deuterium As EBeamRessource || | ||
| + | |- | ||
| + | | Static Var Dilithium As EBeamRessource || | ||
| + | |- | ||
| + | | Static Var Duranium As EBeamRessource || | ||
| + | |- | ||
| + | | Static Var Energie As EBeamRessource || Energy | ||
| + | |- | ||
| + | | Static Var Erz As EBeamRessource || Iridium | ||
| + | |- | ||
| + | | Static Var Geschenke As EBeamRessource || Gift | ||
| + | |- | ||
| + | | Static Var IsoChips As EBeamRessource || | ||
| + | |- | ||
| + | | Static Var Item As EBeamRessource || | ||
| + | |- | ||
| + | | Static Var Larne As EBeamRessource || | ||
| + | |- | ||
| + | | Static Var Latinum As EBeamRessource || | ||
| + | |- | ||
| + | | Static Var Nahrung As EBeamRessource || Food | ||
| + | |- | ||
| + | | Static Var Nitrium As EBeamRessource || | ||
| + | |- | ||
| + | | Static Var PhotonenTorpedos As EBeamRessource || PhotonTorpedoes | ||
| + | |- | ||
| + | | Static Var Plasma As EBeamRessource || | ||
| + | |- | ||
| + | | Static Var PlasmaTorpedos As EBeamRessource || PlasmaTorpedoes | ||
| + | |- | ||
| + | | Static Var QuantenTorpedos As EBeamRessource || QuantumTorpedoes | ||
| + | |- | ||
| + | | Static Var Rettungskapseln As EBeamRessource || EscapePods | ||
| + | |- | ||
| + | | Static Var Schmuggelgüter As EBeamRessource || SmugglersGoods (not sure on this one) | ||
| + | |- | ||
| + | | Static Var Sorium As EBeamRessource || | ||
| + | |- | ||
| + | | Static Var Tribbels As EBeamRessource || Tribles | ||
| + | |- | ||
| + | | Static Var Tritanium As EBeamRessource || | ||
| + | |- | ||
| + | | Var value__ As Short || | ||
|} | |} | ||
Revision as of 23:14, 5 August 2010
Contents |
Class names without members
| German name | English Name |
|---|---|
| Enum EHtmlInputType | |
| Class CCollectionBase | |
| Class CDefaultValueHashTable | |
| Class CDictionaryBase | |
| Class CEntryList | |
| Class CIntegerComparer | |
| Class CIntegerHashTable | |
| Class CIntegerList | |
| Class CKeyMustExistsHashTable | |
| Class CObject | |
| Class CObjectHashTable | |
| Class CObjectList | |
| Class CScriptGlobal | |
| Class CSortedIntegerObjectList | |
| Class CSortedListBase | |
| Class CSortedObjectList | |
| Class CSortedStringList | |
| Class CSortedStringObjectList | |
| Class CStringHashTable | |
| Class CStringList | |
| Structure SPoint | |
| Enum EAlarmStufe | EAlertLevel |
| Enum EAutoPilotTyp | EAutoPilotType |
| Enum EBeamRessource | EBeamResource |
| Enum ELRSNumericTyp | ELRSNumericType |
| Enum EShipLogTyp | EShipLogType |
| Enum EShipRichtung | EShipDirection |
| Enum EShipTyp | EShipType |
| Enum ETorpedoTyp | ETorpedoType |
| Enum EWarenTyp | EGoodsType |
| Class CAccount | |
| Class CAllianz | CAlliance |
| Class CBaseColonieManager | CBaseColonyManager |
| Class CBaseShipManager | |
| Class CColonieManager | CColonyManager |
| Class CCoordsList | CCordinateList |
| Class CDataNode | |
| Class CDataNodeList | |
| Class CDataNodeStorage | |
| Class CFlottenEnumerator | CFleet |
| Class CGameUrl | |
| Class CGebäude | CBuilding |
| Class CGebäudeList | CBuildingList |
| Class CGlobalFunctions | |
| Class CHandle | |
| Class CKolonie | CColony |
| Class CKolonieEnumerator | CColonyEnumerator |
| Class CKolonieFeld | CColonyField |
| Class CKolonieFeldList | CColonyFieldList |
| Class CKolonieKarte | CColonyMap |
| Class CLager | CCargoBay |
| Class CMyFlotte | CMyFleet |
| Class CMyKolonie | CMyColony |
| Class CMyShip | |
| Class CMyShipDefinition | |
| Class CMyUser | |
| Class CScriptUrl | |
| Class CShip | |
| Class CShipDefinition | |
| Class CShipEnumerator | |
| Class CShipList | |
| Class CShipManager | |
| Class CStringBuilder | |
| Class CUrl | |
| Class CUser | |
| Class CUserEnumerator | |
| Class CWarenInfo | CGoodsInfo |
| Class CWebRequest | |
| Class CWebResponse | |
| Class CWebUrl | |
| Enum EReplikatorWare | EReplicatorGoods |
| Class CControlTableCell | |
| Class CHtmlBreak | |
| Class CHtmlCheckBox | |
| Class CHtmlControl | |
| Class CHtmlDictionary | |
| Class CHtmlEventList | |
| Class CHtmlFlash | |
| Class CHtmlForm | |
| Class CHtmlHelper | |
| Class CHtmlHyperLink | |
| Class CHtmlImage | |
| Class CHtmlInput | |
| Class CHtmlLinkButton | |
| Class CHtmlListBox | |
| Class CHtmlListBoxItem | |
| Class CHtmlListBoxItemCollection | |
| Class CHtmlNewLine | |
| Class CHtmlResetButton | |
| Class CHtmlSeperator | |
| Class CHtmlSpace | |
| Class CHtmlSpan | |
| Class CHtmlStyleCollection | |
| Class CHtmlSubmitButton | |
| Class CHtmlTextArea | |
| Class CHtmlTextBox | |
| Class CTable | |
| Class CTableCell | |
| Class CTableCellCollection | |
| Class CTableCellList | |
| Class CTableRow | |
| Class CTableRowCollection | |
| Structure SMapPosition | |
| Class Array | |
| Structure Boolean | |
| Structure Byte | |
| Structure Char | |
| Structure DictionaryEntry | |
| Interface ICollection | |
| Interface IDictionary | |
| Interface IEnumerator | |
| Interface IList | |
| Structure Date | |
| Structure Double | |
| Enum | |
| Structure Short | |
| Structure Integer | |
| Structure Long | |
| Class Math | |
| Class Object | |
| Class Random | |
| Class String |
Class members (non inherited only)
| Enum EAlarmStufe => EAlertLevel | |
|---|---|
| Static Var Gelb As EAlarmStufe | Yellow |
| Static Var Grün As EAlarmStufe | Green |
| Static Var Rot As EAlarmStufe | Red |
| Var value__ As Integer | |
| Enum EAutoPilotTyp => EAutoPilotType | |
|---|---|
| Static Var Energie As EAutoPilotTyp | EnergyEfficient |
| Static Var Gondeln As EAutoPilotTyp | EngineEfficient |
| Var value__ As Byte | |
| Enum EBeamRessource => EBeamResource | |
|---|---|
| Static Var Antimaterie As EBeamRessource | Antimatter |
| Static Var Baumaterial As EBeamRessource | Plasteel |
| Static Var Credits As EBeamRessource | |
| Static Var Crew As EBeamRessource | |
| Static Var Deuterium As EBeamRessource | |
| Static Var Dilithium As EBeamRessource | |
| Static Var Duranium As EBeamRessource | |
| Static Var Energie As EBeamRessource | Energy |
| Static Var Erz As EBeamRessource | Iridium |
| Static Var Geschenke As EBeamRessource | Gift |
| Static Var IsoChips As EBeamRessource | |
| Static Var Item As EBeamRessource | |
| Static Var Larne As EBeamRessource | |
| Static Var Latinum As EBeamRessource | |
| Static Var Nahrung As EBeamRessource | Food |
| Static Var Nitrium As EBeamRessource | |
| Static Var PhotonenTorpedos As EBeamRessource | PhotonTorpedoes |
| Static Var Plasma As EBeamRessource | |
| Static Var PlasmaTorpedos As EBeamRessource | PlasmaTorpedoes |
| Static Var QuantenTorpedos As EBeamRessource | QuantumTorpedoes |
| Static Var Rettungskapseln As EBeamRessource | EscapePods |
| Static Var Schmuggelgüter As EBeamRessource | SmugglersGoods (not sure on this one) |
| Static Var Sorium As EBeamRessource | |
| Static Var Tribbels As EBeamRessource | Tribles |
| Static Var Tritanium As EBeamRessource | |
| Var value__ As Short | |
CColonieManager = CColonyManager
AlarmStufeÄndern(Stufe) = SetAlertLevel(Level) BenutzeKolonie(KolonieID) = SelectColony (ColonyID) EinwanderungsGrenzeFestlegen(Grenze) = SetImigrationLimit(Max) GebäudeAktivieren(Position As String, Status As Boolean) (Gebäude) = ActivateBuilding(Position As String, Status as Boolean)(Building) GebäudeBenennen(Position As String, Name As String) (Gebäude) = SetBuildingName(Position As String, Name As String) (Building) GebäudeReparieren(Position As String, Menge As Integer) (Gebäude) = RepairBuilding(Position As String, Amount As Integer) (Building) NotfusionsKammerAuffüllen(Position As String, Menge As Integer) (Kammer) = FillFusionChamber(Position As String, Amount As Integer)(Chamber) Replizieren(Position As String, Menge As Integer, Von As EReplikatorWare, Zu As EReplikatorWare) (Replizieren) = Replicate(Position As String, Amount As Integer, From As EReplikatorWare, To As EReplikatorWare) (Replicator) SchildeAufladen(Position As String, Menge As Integer) (Schilde) = RechargeShields(Position As String, Amount As Integer) (Shields) TorpedoProduktionÄndern(Position As String, TorpedoTyp As ETorpedoTyp) (geerbt) = ChangeTorpedoProduction(Position As String, TorpedoTyp As ETorpedoTyp) TransferiereVonSchiff(FromShipID As Integer, Anzahl As Integer, Ressource As EBeamRessource) (geerbt) = TransportFromShip(FromShipID As Integer, Amount As Integer, Resource As EBeamRessource) (Ship) TransferiereZuSchiff(ToShipID As Integer, Anzahl As Integer, Ressource As EBeamRessource) (geerbt) = TransportToShip(ToShipID As Integer, Amount As Integer, Resource As EBeamRessource) (Ship) Werft_Bauen(WerftPosition As String, ShipTyp As EShipTyp) (geerbt) = Shipyard_Build(ShipyardPosition As String, ShipType As EShipTyp) (Shipyard) Werft_Reparieren(ShipID As Integer, Menge As Integer) (geerbt) = Shipyard_Repair(ShipID As Integer, Amount As Integer) (Shipyard) Werft_ReserveBatterieAufladen(ShipID As Integer, Menge As Integer) (geerbt) = Shipyard_ChargeReserveBattery(ShipID As Integer, Menge As Integer) (Shipyard)
CShipManager = CShipManager
Abdocken() = Undock() AlarmStufeÄndern(Stufe As EAlarmStufe) = SetAlertLevel(AlertLevel As EAlertLevel) AndockenAn(ToShipID As Integer) = DockTo(ToShipID As Integer) AusAllenFlottenAustreten() = LeaveAllFleets() AusOrbitAustreten() = ExitOrbit() Benennen(Name As String) = SetName(Name As String) BenutzeFlotte(FlottenID As Integer) = SetSelectionToFleet(FleetID As Integer) BenutzeSchiff(ShipID As Integer) = SetSelectionToFleetShip(ShipID As Integer) DeuteriumSammeln(Energie As Integer) = CollectDeuterium(Energy As Integer) ErzSammeln(Energie As Integer) = CollectOre(Energy As Integer) Fliege(AnzahlFelder As Integer, Richtung As EShipRichtung) = Fly(Distance As Integer, Direction As EShipDirection) FliegeZu(Position As String) = FlyTo(Position as String) InOrbitEintreten() = EnterOrbit() LRS_Aktivieren(Status As Boolean) = ActivateLRS(Status as Boolean) Reparieren(ShipID As Integer, Hüllenpunkte As Integer) = Repair(ShipID As Integer, HullPoints As Integer) ReplikatorAktivieren(Status As Boolean) = ActivateReplicator(Status As Boolean) ReserveBatterieEntladen(Menge As Integer) = DischargeEmergencyBattery(Amount as Integer) SchiffBauenRessourcenEinspeisen() = ApplyGoodsToConstruction() SchildeAktivieren(Status As Boolean) = ActivateShields(Status As Boolean) SchildeAufladen(Menge As Integer) = ChargeShields(Amount As Integer) SRS_Aktivieren(Status As Boolean) = ActivateSRS(Status As Boolean) StationsReserveBatterieAufladen(ShipID As Integer, Menge As Integer) = ChargeEmergencyBattery(ShipID As Integer, Amount As Integer) TraktorStrahlAbschalten() = DeactivateTractor() TraktorStrahlEinschalten(ShipID As Integer) = ActivateTractor(ShipID As Integer) TransferiereVonKolonie(FromColonieID As Integer, Anzahl As Integer, Ressource As EBeamRessource) = TransportFromColony(FromColonieID As Integer, Amount As Integer, Resource As EBeamResource) TransferiereVonSchiff(FromShipID As Integer, Anzahl As Integer, Ressource As EBeamRessource) = TransportFromShip(FromShipID As Integer, Amount As Integer, Resource As EBeamResource) TransferiereZuKolonie(ToColonieID As Integer, Anzahl As Integer, Ressource As EBeamRessource) = TransportToColony(ToColonyID As Integer, Amount As Integer, Resource As EBeamResource) TransferiereZuSchiff(ToShipID As Integer, Anzahl As Integer, Ressource As EBeamRessource) = TransportToShip(ToShipID As Integer, Amount As Integer, Resource As EBeamResource) UndBenutzeFlotte(FlottenID As Integer) = AddFleetToSelection(FleetID As Integer) UndBenutzeSchiff(ShipID As Integer) = AddShipToSelection(ShipID As Integer) Verstecken(Versteckt As Boolean) As Boolean = Hide(Hide As Boolean) As Boolean VerteidigenTo(ShipID As Integer) = Defend(ShipID As Integer) VerteidigenToDelete() = DeleteDefend() WarenÜberBordWerfen(Menge As Integer, WarenTyp As EWarenTyp) = JettisonGoods(Amount As Integer, GoodsType As EGoodsType WarpkernAktivieren(Status As Boolean) = ActivateWarpCore(Status As Boolean) WarpkernNachfüllen(Menge As Integer) = RefillWarpCore(Amount As Integer) WrackExtraktoren(Menge As Integer) = ExtractFromWreck(Amount As Integer)
CMyKolonie = CMyColony
Class CMyKolonie : CKolonie
New (KolonieID As Integer) As CMyKolonie New (PosX As Integer, PosY As Integer) As CMyKolonie Property Aktion As CBaseColonieManager = Activation As CBaseColonyManager Property Bewohnbar As Boolean = Inhabitably As Self Property Coords As SPoint = Coords As SPoint Property Einwohner As Integer = Inhabitant As Integer Property Energie As Integer = Energy As Integer Property EnergieBilanz As Integer = Energy Balance As Integer Property EnergieKapazität As Integer = Energy Capacity As Integer Property EnergieKapazitätFrei As Integer = EnergyCapacity As Integer Property Energie Produktion As Integer = EnergyProduction As Integer Property EnergieVerbrauch As Integer = EnergyConsumption As Integer Function FeldByID(FeldID As Integer) As CKolonieFeld = FieldByID As CColonyField Function FeldByPosition(Position As String) As CKolonieFeld = FieldByPosition As CColonyField Property Felder As CKolonieFeldList = Fields As CColonyFieldList Property Gebäude As CGebäudeList = Building As CBuildingList Function GebäudeByID(FeldID As Integer) As CGebäude = BuildingByID(FieldID As Integer)As CBuilding Function GebäudeByIndex(Index As Integer) As CGebäude = BuildingByIndex As CBuilding Function GebäudeByPosition(Position As String) As CGebäude = BuildingsByPosition As CBuilding Property IsBesiedelt As Boolean = IsSettled As Self Property IsKolonie As Boolean = IsColony As Self Property Karte As CKolonieKarte = Map As CColonyMap Property Lager As CLager = Camp As CCamp Property Larne As Double = Larne As Double Property LeererRaum As Boolean = EmptySpace As Self Property Name As String = Name As String Property OrbitKarte As CKolonieKarte = OrbitColony As CColonyMap Property SektorID As Integer = SectorID As Integer Property SRS As CShipList = SRS As CShipList Property Typ = Type Property TypName As String = TypeName As String Property UserID As Integer (geerbt) = UserID As Integer (User) Property Wohnraum As Integer = LivingSpace As Self
...
... = ...
...