1
0
Fork 0
mirror of https://codeberg.org/demostf/parser.git synced 2026-06-05 02:54:10 +02:00
This commit is contained in:
Robin Appelman 2019-02-25 00:30:59 +01:00
commit 4ac2a3cfc6
20 changed files with 907 additions and 0 deletions

17
src/demo/sendprop.rs Normal file
View 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,
}