-
Notifications
You must be signed in to change notification settings - Fork 328
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactored stats updates and consolidated extended messages
- Loading branch information
Showing
31 changed files
with
544 additions
and
1,103 deletions.
There are no files selected for viewing
12 changes: 7 additions & 5 deletions
12
...ximumHealthAndShieldExtended_by-server.md → ...1-26-FE-MaximumStatsExtended_by-server.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,22 @@ | ||
# C1 26 FE - MaximumHealthAndShieldExtended (by server) | ||
# C1 26 FE - MaximumStatsExtended (by server) | ||
|
||
## Is sent when | ||
|
||
When the maximum health changed, e.g. by adding stat points or changed items. | ||
When the maximum stats, like health, shield, mana or attack speed changed on the server side, e.g. by adding stat points or changed items. | ||
|
||
## Causes the following actions on the client side | ||
|
||
The health and shield bar is updated on the game client user interface. | ||
The values are updated on the game client user interface. | ||
|
||
## Structure | ||
|
||
| Index | Length | Data Type | Value | Description | | ||
|-------|--------|-----------|-------|-------------| | ||
| 0 | 1 | Byte | 0xC1 | [Packet type](PacketTypes.md) | | ||
| 1 | 1 | Byte | 12 | Packet header - length of the packet | | ||
| 1 | 1 | Byte | 20 | Packet header - length of the packet | | ||
| 2 | 1 | Byte | 0x26 | Packet header - packet type identifier | | ||
| 3 | 1 | Byte | 0xFE | Packet header - sub packet type identifier | | ||
| 4 | 4 | IntegerLittleEndian | | Health | | ||
| 8 | 4 | IntegerLittleEndian | | Shield | | ||
| 8 | 4 | IntegerLittleEndian | | Shield | | ||
| 12 | 4 | IntegerLittleEndian | | Mana | | ||
| 16 | 4 | IntegerLittleEndian | | Ability | |
20 changes: 0 additions & 20 deletions
20
docs/Packets/C1-26-FF-CurrentHealthAndShieldExtended_by-server.md
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# C1 26 FF - CurrentStatsExtended (by server) | ||
|
||
## Is sent when | ||
|
||
Periodically, or if the current stats, like health, shield, mana or attack speed changed on the server side, e.g. by hits. | ||
|
||
## Causes the following actions on the client side | ||
|
||
The values are updated on the game client user interface. | ||
|
||
## Structure | ||
|
||
| Index | Length | Data Type | Value | Description | | ||
|-------|--------|-----------|-------|-------------| | ||
| 0 | 1 | Byte | 0xC1 | [Packet type](PacketTypes.md) | | ||
| 1 | 1 | Byte | 24 | Packet header - length of the packet | | ||
| 2 | 1 | Byte | 0x26 | Packet header - packet type identifier | | ||
| 3 | 1 | Byte | 0xFF | Packet header - sub packet type identifier | | ||
| 4 | 4 | IntegerLittleEndian | | Health | | ||
| 8 | 4 | IntegerLittleEndian | | Shield | | ||
| 12 | 4 | IntegerLittleEndian | | Mana | | ||
| 16 | 4 | IntegerLittleEndian | | Ability | | ||
| 20 | 2 | ShortLittleEndian | | AttackSpeed | | ||
| 22 | 2 | ShortLittleEndian | | MagicSpeed | |
20 changes: 0 additions & 20 deletions
20
docs/Packets/C1-27-FE-MaximumManaAndAbilityExtended_by-server.md
This file was deleted.
Oops, something went wrong.
20 changes: 0 additions & 20 deletions
20
docs/Packets/C1-27-FF-CurrentManaAndAbilityExtended_by-server.md
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 0 additions & 16 deletions
16
src/GameLogic/Views/Character/IUpdateCurrentHealthPlugIn.cs
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
16 changes: 0 additions & 16 deletions
16
src/GameLogic/Views/Character/IUpdateMaximumHealthPlugIn.cs
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.