mirror of
https://codeberg.org/demostf/parser.git
synced 2026-06-05 02:54:10 +02:00
some wip
This commit is contained in:
commit
4ac2a3cfc6
20 changed files with 907 additions and 0 deletions
17
src/demo/sendprop.rs
Normal file
17
src/demo/sendprop.rs
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
use super::vector::{Vector, VectorXY};
|
||||
|
||||
pub struct SendPropDefinition {}
|
||||
|
||||
pub enum SendPropType {
|
||||
Vector(Vector),
|
||||
VectorXY(VectorXY),
|
||||
Integer(i32),
|
||||
Float(f32),
|
||||
String(String),
|
||||
Array(Vec<SendPropType>),
|
||||
}
|
||||
|
||||
pub struct SendProp {
|
||||
definition: SendPropDefinition,
|
||||
value: SendPropType,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue