Differential D2182 Diff 9448 binaries/data/mods/public/simulation/components/tests/test_ProductionQueue.js
Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/simulation/components/tests/test_ProductionQueue.js
Show First 20 Lines • Show All 196 Lines • ▼ Show 20 Lines | ConstructComponent(playerEnt, "EntityLimits", { | ||||
"Limits": { | "Limits": { | ||||
"some_limit": 8 | "some_limit": 8 | ||||
}, | }, | ||||
"LimitChangers": {}, | "LimitChangers": {}, | ||||
"LimitRemovers": {} | "LimitRemovers": {} | ||||
}); | }); | ||||
AddMock(SYSTEM_ENTITY, IID_GuiInterface, { | AddMock(SYSTEM_ENTITY, IID_GuiInterface, { | ||||
"PushNotification": () => {} | "PushNotification": () => {}, | ||||
"GetTemplateData": playerID => ({}) | |||||
Stan: Why the parenthesis ? | |||||
Done Inline ActionsTrail and error says it is needed. I have no clue as to the reason. It occurs more often in tests. Freagarach: Trail and error says it is needed. I have no clue as to the reason. It occurs more often in… | |||||
}); | }); | ||||
AddMock(SYSTEM_ENTITY, IID_Trigger, { | AddMock(SYSTEM_ENTITY, IID_Trigger, { | ||||
"CallEvent": () => {} | "CallEvent": () => {} | ||||
}); | }); | ||||
AddMock(SYSTEM_ENTITY, IID_Timer, { | AddMock(SYSTEM_ENTITY, IID_Timer, { | ||||
"SetTimeout": (ent, iid, func) => {} | "SetTimeout": (ent, iid, func) => {} | ||||
▲ Show 20 Lines • Show All 70 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator
Why the parenthesis ?