Skip to content

OverlayPlugin 0.3.3.12

Compare
Choose a tag to compare
@hibiyasleep hibiyasleep released this 13 Mar 19:34
· 285 commits to master since this release

Patch file may work on upgrades from 0.3.3.9 or upwards. (should: .10)

Changes

  • New OverlayPluginApi function: endEncounter()
  • New browser-side event: onLogLine -- This only listens for /e echo messages now.
  • use Newtonsoft.Json for proper, safer JSON handling.
  • Multi-window handling was improved slightly.

About 'End Encounter'

From this version, overlay skin can request 'mark this encounter done, split it' to ACT. However, skin needs to be updated to support this function. currently kagerou supports this.

For example, default miniparse.html can be modified like:

  <script>
    // when 'Encounter' section right-clicked...
    document.getElementById('encounter').addEventListener('oncontextmenu', function(){
      // request endEncounter
      OverlayPluginApi.endEncounter()
    })
  <script>

Inserting this above </body> will enable this function, which triggered by right-click on encounter title.

Since there's a ton of OverlaySkins, I can't help every patch request. please contact skin's author.


패치 파일은 0.3.3.9 이후의 버전에서 업데이트할 때 사용할 수 있을 것 같습니다.

변경점

  • OverlayPluginApi 객체에 새 함수 endEncounter()가 추가되었습니다.
  • 새 이벤트 onLogLine을 받을 수 있습니다 -- 지금은 /e로 사용하는 혼잣말만 받아옵니다.
  • 적절하고 안전하게 JSON을 취급하기 위해 Newtonsoft.Json을 사용합니다.
  • 여러 창 취급이 조금 개선되었습니다.