微塵2022X64輔助開發(fā)易語言c++游戲匯編內(nèi)存lua封包注入
// legacyCreateRootFromDOMContainer
function legacyCreateRootFromDOMContainer(container: Container, forceHydrate: boolean): RootType {
?const shouldHydrate = forceHydrate || shouldHydrateDueToLegacyHeuristic(container);
?// First clear any existing content.
?if (!shouldHydrate) {
? ?let rootSibling;
? ?while ((rootSibling = container.lastChild)) {
? ? ?container.removeChild(rootSibling);
? ?}
?}
標(biāo)簽: