#![allow(dead_code, non_camel_case_types, non_snake_case, unused_imports, unused_mut)]
use crate::{AMPAPI, types::*};
use std::collections::HashMap;
use serde_json::{Value, Map};
#[derive(Debug, Clone)]
pub struct RCONPlugin {
pub ampapi: AMPAPI
}
impl RCONPlugin {
pub fn new(ampapi: AMPAPI) -> RCONPlugin {
RCONPlugin {
ampapi
}
}
pub fn Dummy(&mut self, ) -> core::result::Result<Value, reqwest::Error> {
let mut args: HashMap<String, Value> = HashMap::new();
self.ampapi.api_call::<Value>("RCONPlugin/Dummy".to_string(), args)
}
}