CUModSquad / Camelot-Unchained

UI repository for Camelot Unchained, a tri-realm RvR MMORPG.
Mozilla Public License 2.0
7 stars 25 forks source link

Coherent Integration #240

Open saddieeiddas opened 5 years ago

saddieeiddas commented 5 years ago

This is an issue to keep track of coherent integration:

Components

Services

Widgets

Issues

client.OnAbilityError((message: any) => {}) is missing

client.FOV(degrees) is missing

plotPermissions is missing

plotPermissions {
  Self = 0,
  Group = 1 << 0,
  Friends = 1 << 1,
  Guild = 1 << 2,
  Realm = 1 << 3,
  All = 1 << 4,
  COUNT = 1 << 5,
}

How can siege targets be handled, currently only have access to siege which is controlled by self/friendly/enemy, but no targeting siege directly.

client.SnapMode() is missing

client.Emote() is missing

client.CrashTheGame() is missing

UI methods are missing OpenUI CloseUI ShowUI HideUI

client.CopyBlueprint(); is missing

client.PasteBlueprint(); is missing

client.DropItem(id); is missing

client.OnSkillBarChanged is missing

codecorsair commented 5 years ago

Hijacking for client API status as well 🚗

Game Client API

GameModel

See GameModel interface

Game Model Tasks

Methods that return a Task\ result

  • [ ] _cse_dev_listenForKeyBindingTask
  • [ ] _cse_dev_setOptions
  • [ ] _cse_dev_testOption
  • [ ] _cse_dev_takeScreenshot

Engine Events

See Engine Events

Entity States

See EntityStateModel.

Shared

Kinematic

PlayerState

SiegeState

Self Player State

See SelfPlayerStateModel. Inherits all values of PlayerState from Entity States

Friendly Target Player State

See FriendlyTargetPlayerStateModel interface. Inherits all values of PlayerState from Entity States

Enemy Target Player State

See EnemyTargetPlayerStateModel interface. Inherits all values of PlayerState from Entity States

Key Actions

See KeyActionsModel. Properties match the ButtonFunction enumeration found in Input.h on the game client. I will skip listing them all here.

Loading State

See LoadingStateModel.

Plot

See PlotModel.

Client Tasks

Task type

See Task interface.

Still TODO

Skill Button API

codecorsair commented 5 years ago

client.OnAbilityError((message: any) => {}) is missing

Skill interface is not yet completed

client.FOV(degrees) is missing

This is removed, will just use a normal GameOption

plotPermissions is missing

plotPermissions {
  Self = 0,
  Group = 1 << 0,
  Friends = 1 << 1,
  Guild = 1 << 2,
  Realm = 1 << 3,
  All = 1 << 4,
  COUNT = 1 << 5,
}

Not used currently, will get added if it does

How can siege targets be handled, currently only have access to siege which is controlled by self/friendly/enemy, but no targeting siege directly.

Resolved.

client.SnapMode() is missing

This was intentionally removed as it is no longer supported by the client.

client.Emote() is missing

This was intentionally removed, emotes will function more like skills in the future.

client.CrashTheGame() is missing

This was intentionally removed, will be available via a slash command only

UI methods are missing OpenUI CloseUI ShowUI HideUI

These are no longer relevant with coherent

client.CopyBlueprint(); is missing

client.PasteBlueprint(); is missing

Removed in favor of key action commands.

client.DropItem(id); is missing

Removed intentionally, drop item is done via an WebAPI move item request

client.OnSkillBarChanged is missing

Removed as won't be relevant in the new skillbar api, which is not yet complete however.