DeckerdJames
Prince
- Joined
- Nov 1, 2019
- Messages
- 380
I am using the Firetuner to browse _G.
I have included the contents of the _G\GameCore and _G\GameCore\Players as an example of what is in there. I do recognize functions in the Players table as functions a mod can use. Does anyone know if all of GameCore is useable?
There are also many other tables under _G and a few more are named as game related tables. There are the tables GameEventFactory, GameEvents, GameInfo, GameInfoData. Are these outside of the scope that a mod can use?
I assume that the entire LUA side of the game is in _G, but I am not sure about that. If it isn't the entire LUA engine, then it still appears to contain many functions.
I have included the contents of the _G\GameCore and _G\GameCore\Players as an example of what is in there. I do recognize functions in the Players table as functions a mod can use. Does anyone know if all of GameCore is useable?
There are also many other tables under _G and a few more are named as game related tables. There are the tables GameEventFactory, GameEvents, GameInfo, GameInfoData. Are these outside of the scope that a mod can use?
I assume that the entire LUA side of the game is in _G, but I am not sure about that. If it isn't the entire LUA engine, then it still appears to contain many functions.
Spoiler Contents of _G\GameCore :
| ActionTypes | table: 0000000082BBDE00 |
| ActivityTypes | table: 0000000082BBE120 |
| AdjacencyBonusTypes | table: 0000000082BBE170 |
| AreaBuilder | table: 0000000082BB96C0 |
| Areas | table: 0000000082BBA890 |
| Automation | table: 00000000844A5FE0 |
| AutoplayManager | table: 00000000844A57C0 |
| Cities | table: 0000000082BB9940 |
| CityCommandResults | table: 0000000082BBEEE0 |
| CityCommandTypes | table: 0000000082BBF700 |
| CityDestroyDirectives | table: 0000000082BBE620 |
| CityManager | table: 00000000844A4870 |
| CityOperationResults | table: 0000000082BBF4D0 |
| CityOperationTypes | table: 0000000082BBF160 |
| CityProductionDirectives | table: 0000000082BBF7F0 |
| CityTransferTypes | table: 0000000082BBE580 |
| CivilizationLevelTypes | table: 0000000082BBEB70 |
| CombatManager | table: 00000000844A54F0 |
| CombatResultParameters | table: 0000000082BBF520 |
| ComponentType | table: 0000000082BBEF30 |
| DealAgreementTypes | table: 0000000082BBE990 |
| DealDirection | table: 0000000082BBF020 |
| DealItemSubTypes | table: 0000000082BBE940 |
| DealItemTypes | table: 0000000082BBF890 |
| DealManager | table: 00000000844A5540 |
| DealProposalAction | table: 0000000082BBE8A0 |
| DealValidationResult | table: 0000000082BBF840 |
| DefenseTypes | table: 0000000082BBEE90 |
| DefinitionTypes | table: 0000000082BBF750 |
| DiplomacyActionTypes | table: 0000000082BBEAD0 |
| DiplomacyInitiatorTypes | table: 0000000082BBF200 |
| DiplomacyMoodTypes | table: 0000000082BBF250 |
| DiplomacyRelationshipTypes | table: 0000000082BBEA30 |
| DiplomacyResponseTypes | table: 0000000082BBE9E0 |
| DiplomaticStates | table: 0000000082BBF390 |
| DirectionTypes | table: 0000000082BBD630 |
| DomainTypes | table: 0000000082BBD860 |
| EndTurnBlockingTypes | table: 0000000082BBD360 |
| EraTypes | table: 0000000082BBDF40 |
| EspionageResultTypes | table: 0000000082BBF3E0 |
| EventSubTypes | table: 0000000082BBE530 |
| FlowDirectionTypes | table: 0000000082BBD1D0 |
| Fractal | table: 0000000082BB9D00 |
| Game | table: 0000000082BBD810 |
| GameCapabilities | table: 00000000844A6120 |
| GameClimate | table: 00000000844A5A90 |
| GameConfiguration | table: 00000000844A2160 |
| GameCoreState | table: 0000000082BBA070 |
| GameDefines | table: 0000000082BBE080 |
| GameEffects | table: 0000000082BBD130 |
| GameRandomEvents | table: 00000000844A68A0 |
| GameSummary | table: 0000000082BBD5E0 |
| GovernmentBonusTypes | table: 0000000082BBD8B0 |
| IdentityConversionOutcome | table: 0000000082BBEDF0 |
| ImprovementBuilder | table: 0000000082BBA4D0 |
| Map | table: 0000000082BBA0C0 |
| MapConfiguration | table: 00000000844A21B0 |
| MapFeatureManager | table: 00000000844A62B0 |
| MapLayers | table: 0000000082BBF8E0 |
| MapModData | table: 0000000082BBA610 |
| MapRoutes | table: 00000000844A5D60 |
| MilitaryFormationTypes | table: 0000000082BBEFD0 |
| MomentDataTypes | table: 0000000082BBDFE0 |
| NotificationGroups | table: 0000000082BBE710 |
| NotificationManager | table: 00000000844A55E0 |
| NotificationParameterTypes | table: 0000000082BBE760 |
| NotificationTypes | table: 0000000082BBF340 |
| OperationResultsTypes | table: 0000000082BBEE40 |
| ParameterTypes | table: 0000000082BBEF80 |
| Player | table: 0000000082BBA5C0 |
| PlayerComponentTypes | table: 0000000082BBE7B0 |
| PlayerConfiguration | table: 00000000844A2480 |
| PlayerConfigurations | table: 00000000844A2AC0 |
| PlayerManager | table: 00000000844A54A0 |
| PlayerOperationResults | table: 0000000082BBEDA0 |
| PlayerOperations | table: 0000000082BBEBC0 |
| Players | table: 0000000082BBA7A0 |
| PlayersVisibility | table: 0000000082BBFED0 |
| PlayerTypes | table: 0000000082BBE1C0 |
| PlayerVisibility | table: 0000000082BBFD40 |
| PlayerVisibilityManager | table: 00000000844A2110 |
| PromiseTypes | table: 0000000082BBFD90 |
| QueueInsertMode | table: 0000000082BBF070 |
| ReportingEvents | table: 00000000844A44B0 |
| ReportingStatusTypes | table: 0000000082BBECB0 |
| ResourceBuilder | table: 0000000082BBA110 |
| ResultFormat | table: 0000000082BBFA20 |
| RevealedState | table: 0000000082BBFBB0 |
| RiverManager | table: 00000000844A5810 |
| RouteBuilder | table: 0000000082BBA520 |
| RouteTypes | table: 0000000082BBE030 |
| StartPositioner | table: 0000000082BB9BC0 |
| Teams | table: 0000000082BBD4A0 |
| TerrainBuilder | table: 0000000082BB99E0 |
| TerrainManager | table: 00000000844A5F40 |
| Territories | table: 00000000844A5F90 |
| UnitCommandResults | table: 0000000082BBF6B0 |
| UnitCommandTypes | table: 0000000082BBF430 |
| UnitManager | table: 00000000844A5450 |
| UnitOperationMoveModifiers | table: 0000000082BBE3A0 |
| UnitOperationResults | table: 0000000082BBF0C0 |
| UnitOperationTypes | table: 0000000082BBE210 |
| Units | table: 0000000082BB9850 |
| VisibilityLayerTypes | table: 0000000082BBF110 |
| WorldBuilder | table: 00000000844A4460 |
| WorldBuilderModes | table: 0000000082BBF5C0 |
| WorldBuilderSignals | table: 0000000082BBF9D0 |
| YieldTypes | table: 0000000082BBF660 |
| WarTypes | table: 0000000082BBF2A0 |
Spoiler Contents of _G\GameCore\Player :
| __instances | table: 0000000082BBA6B0 |
| AttachModifierByID | function: 000000008399ECB0 |
| ChangeScoringScenario1 | function: 000000008399F670 |
| ChangeScoringScenario2 | function: 000000008399EAF0 |
| ChangeScoringScenario3 | function: 000000008399F530 |
| GetAi_Diplomacy | function: 000000008399DEF0 |
| GetAi_Military | function: 000000008399DDF0 |
| GetAi_Religion | function: 000000008399F3B0 |
| GetCities | function: 000000008399E6F0 |
| GetComponentID | function: 000000008399E0B0 |
| GetCulture | function: 000000008399DFF0 |
| GetDiplomacy | function: 000000008399DB30 |
| GetDistricts | function: 000000008399DF70 |
| GetEra | function: 000000008399F6F0 |
| GetEras | function: 000000008399DBF0 |
| GetGovernors | function: 000000008399ED70 |
| GetGreatPeoplePoints | function: 000000008399DEB0 |
| GetID | function: 000000008399E430 |
| GetInfluence | function: 000000008399DB70 |
| GetProperty | function: 000000008399E930 |
| GetReligion | function: 000000008399DC70 |
| GetResources | function: 000000008399DBB0 |
| GetScore | function: 000000008399E7B0 |
| GetScoringScenario1 | function: 000000008399EBF0 |
| GetScoringScenario2 | function: 000000008399F370 |
| GetScoringScenario3 | function: 000000008399F230 |
| GetStartingPlot | function: 000000008399EF30 |
| GetStats | function: 000000008399DA30 |
| GetTeam | function: 000000008399E230 |
| GetTechs | function: 000000008399E1B0 |
| GetTrade | function: 000000008399E270 |
| GetTreasury | function: 000000008399E4F0 |
| GetUnits | function: 000000008399D9F0 |
| GetWMDs | function: 000000008399E9F0 |
| GrantWMDs | function: 000000008399E9B0 |
| GrantYield | function: 000000008399EAB0 |
| IsBarbarian | function: 000000008399F170 |
| IsHuman | function: 000000008399EA70 |
| IsInitialized | function: 000000008399F6B0 |
| IsMajor | function: 000000008399EC30 |
| IsTurnActive | function: 000000008399F1B0 |
| IsTurnActiveComplete | function: 000000008399E830 |
| SetProperty | function: 000000008399EBB0 |
| SetScoringScenario1 | function: 000000008399EE30 |
| SetScoringScenario2 | function: 000000008399F4F0 |
| SetScoringScenario3 | function: 000000008399F770 |
| SetStartingPlot | function: 000000008399F5F0 |
| TypeName | Player |
| WasEverAlive | function: 000000008399F570 |
| IsAlive | function: 000000008399F070 |
Last edited: