mirror of
https://github.com/Zenithsiz/dcb.git
synced 2026-02-09 03:40:23 +00:00
Moved Move card property documentation to it's own file.
This commit is contained in:
12
src/game/card/property/move.md
Normal file
12
src/game/card/property/move.md
Normal file
@@ -0,0 +1,12 @@
|
||||
A digimon's move
|
||||
|
||||
This module contains the [`Move`] struct, which describes a generic move over the triangle, circle or cross.
|
||||
|
||||
# Layout
|
||||
Each move has a size of `0x1c` bytes, and it's layout is the following:
|
||||
|
||||
| Offset | Size | Type | Name | Location | Details |
|
||||
| ------ | ---- | -------------- | ------- | --------- | --------------------------------- |
|
||||
| 0x0 | 0x2 | `u16` | Power | `power` | |
|
||||
| 0x2 | 0x4 | `u32` | Unknown | `unknown` | Most likely stores animation data |
|
||||
| 0x6 | 0x16 | `[char; 0x16]` | Name | `name` | Null-terminated |
|
||||
@@ -1,15 +1,4 @@
|
||||
//! A digimon's move
|
||||
//!
|
||||
//! This module contains the [`Move`] struct, which describes a generic move over the triangle, circle or cross.
|
||||
//!
|
||||
//! # Layout
|
||||
//! Each move has a size of `0x1c` bytes, and it's layout is the following:
|
||||
//!
|
||||
//! | Offset | Size | Type | Name | Location | Details |
|
||||
//! |--------|------|----------------------|---------------------------|------------------------|-----------------------------------|
|
||||
//! | 0x0 | 0x2 | `u16` | Power | `power` | |
|
||||
//! | 0x2 | 0x4 | `u32` | Unknown | `unknown` | Most likely stores animation data |
|
||||
//! | 0x6 | 0x16 | `[char; 0x16]` | Name | `name` | Null-terminated |
|
||||
#![doc(include = "move.md")]
|
||||
|
||||
// byteorder
|
||||
use byteorder::{ByteOrder, LittleEndian};
|
||||
|
||||
Reference in New Issue
Block a user