mirror of
https://codeberg.org/icewind/vbsp.git
synced 2026-06-03 18:54:05 +02:00
add Negated to codegen
This commit is contained in:
parent
0d93ee7733
commit
ac66462227
1 changed files with 3 additions and 3 deletions
|
|
@ -1179,7 +1179,7 @@ pub struct EnvWind {
|
||||||
#[derive(Debug, Clone, Deserialize)]
|
#[derive(Debug, Clone, Deserialize)]
|
||||||
pub struct FilterActivatorClass<'a> {
|
pub struct FilterActivatorClass<'a> {
|
||||||
pub filterclass: &'a str,
|
pub filterclass: &'a str,
|
||||||
pub negated: &'a str,
|
pub negated: Negated,
|
||||||
pub origin: Vector,
|
pub origin: Vector,
|
||||||
pub targetname: &'a str,
|
pub targetname: &'a str,
|
||||||
}
|
}
|
||||||
|
|
@ -1187,7 +1187,7 @@ pub struct FilterActivatorClass<'a> {
|
||||||
pub struct FilterActivatorName<'a> {
|
pub struct FilterActivatorName<'a> {
|
||||||
#[serde(default)]
|
#[serde(default)]
|
||||||
pub filtername: Option<&'a str>,
|
pub filtername: Option<&'a str>,
|
||||||
pub negated: &'a str,
|
pub negated: Negated,
|
||||||
#[serde(default)]
|
#[serde(default)]
|
||||||
pub onfail: Option<&'a str>,
|
pub onfail: Option<&'a str>,
|
||||||
#[serde(default)]
|
#[serde(default)]
|
||||||
|
|
@ -1198,7 +1198,7 @@ pub struct FilterActivatorName<'a> {
|
||||||
#[derive(Debug, Clone, Deserialize)]
|
#[derive(Debug, Clone, Deserialize)]
|
||||||
pub struct FilterDamageType<'a> {
|
pub struct FilterDamageType<'a> {
|
||||||
pub damagetype: u8,
|
pub damagetype: u8,
|
||||||
pub negated: &'a str,
|
pub negated: Negated,
|
||||||
pub origin: Vector,
|
pub origin: Vector,
|
||||||
#[serde(default)]
|
#[serde(default)]
|
||||||
pub targetname: Option<&'a str>,
|
pub targetname: Option<&'a str>,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue