MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / run

Method run

src/main/java/fieldcef/browser/HTMLToTexture.kt:220–226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

218 s!!.addURIHandler { uri: String, method: NanoHTTPD.Method?, headers: Map<String?, String?>?, params: Map<String?, String?>?, files: Map<String?, String?>? ->
219 val m = textTable["http://localhost:$a$uri"]
220 if (m != null) return@addURIHandler NanoHTTPD.Response(NanoHTTPD.Response.Status.OK, "text/html", m)
221 null
222 }
223 browser = CefSystem.cefSystem.makeBrowser(
224 w,
225 h,
226 { popup: Boolean, dirty: Array<Rectangle>?, buffer: ByteBuffer?, w: Int, h: Int ->
227 paint(
228 popup,
229 dirty!!,

Callers 10

loadedMethod · 0.45
finishBootingMethod · 0.45
checkAndRunRequestsMethod · 0.45
paintMethod · 0.45
HTMLToTextureClass · 0.45
setURLMethod · 0.45
updateMethod · 0.45
inject2Method · 0.45
joinCommandsMethod · 0.45
clearNotificationsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected