GithubHelp home page GithubHelp logo

zerthox / arcdps-rs Goto Github PK

View Code? Open in Web Editor NEW
8.0 2.0 3.0 198.11 MB

Rust bindings for ArcDPS.

Home Page: https://zerthox.github.io/arcdps-rs/arcdps/

License: MIT License

Rust 100.00%
arcdps bindings guildwars2 gw2 rust evtc

arcdps-rs's People

Contributors

belst avatar cheahjs avatar greaka avatar krappa322 avatar mirclus avatar zerthox avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

cheahjs belst zyian

arcdps-rs's Issues

Unofficial Extras exports

Unofficial Extras exports a get_key as well as a get_key_bind function. These still have to be exposed to the user of the bindings.

Do not fallback to enum default

When parsing enums in combat events they should not fall back to a default, as the raw value of the field will be lost and can no longer be used for event kinds that store different data in that field.

Arc API additions

Add new CBTS_EXTENSIONCOMBAT to StateChange enum and new exports e10 and listextension

Error strings in init

The init function currently returns a Box<dyn Error> . All it does with it, is use its Display implementation to convert it via to_string.

The user could instead be given the possibility of simply returning an error string. This allows using Error and converting it yourself before returning, as well as simply returning a plain custom string message.

Update to support update url

ArcDPS is adding support for an optional get_update_url export from plugins. The bindings need to add supports for this as well.

Readd logging

Readd support for logging to Arc's log window via the log crate.

Incorrectly typed event fields

The CombatEvent struct currently has src_agent and dst_agent as usize, whereas Arc has them as uint64_t not uintptr_t.

Unofficial Extras callbacks

Currently only squad update and language change are supported callbacks. The keybind change callback as well as the upcoming chat message callback need to be added.

Unofficial extras chat message support

Unofficial extras will include a chat message callback in a future version. This will need to be added to the bindings.

Backwards compatibility with older versions of the subscriber struct is also something to consider.

ArcDPS evtc combat bindings seem to not be in real time

Hey, it seems that the evtc RawCombatCallback for area combat seems to be working with a 3-4 second delay in comparison to the information that's input into arcDPS. The RawCombatCallback for combat_local seems to be in (more or less) realtime. I'm not entirely sure if this is working as intended, or if I'm using the library wrong.

Log targets

The interface of the log crate allows specifying targets for logging. This could be utilized to allow the user to decide whether to log to the log window, log file or both.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.