[−][src]Struct tf_demo_parser::ParserState
Fields
static_baselines: HashMap<ClassId, StaticBaseline, NullHasherBuilder>
parsed_static_baselines: RefCell<HashMap<ClassId, Vec<SendProp>, NullHasherBuilder>>
event_definitions: Vec<GameEventDefinition>
string_tables: Vec<StringTableMeta>
entity_classes: HashMap<EntityId, ClassId, NullHasherBuilder>
send_tables: Vec<SendTable>
server_classes: Vec<ServerClass>
instance_baselines: [HashMap<EntityId, Vec<SendProp>, NullHasherBuilder>; 2]
demo_meta: DemoMeta
Implementations
impl ParserState
[src]
pub fn new(
analyser_handles: fn(message_type: MessageType) -> bool,
parse_all: bool
) -> Self
[src]
analyser_handles: fn(message_type: MessageType) -> bool,
parse_all: bool
) -> Self
pub fn get_static_baseline(
&self,
class_id: ClassId,
send_table: &SendTable
) -> Result<Vec<SendProp>>
[src]
&self,
class_id: ClassId,
send_table: &SendTable
) -> Result<Vec<SendProp>>
pub fn handle_data_table(
&mut self,
parse_tables: Vec<ParseSendTable>,
server_classes: Vec<ServerClass>
)
[src]
&mut self,
parse_tables: Vec<ParseSendTable>,
server_classes: Vec<ServerClass>
)
pub fn handle_string_table_meta(&mut self, table: StringTableMeta)
[src]
pub fn should_parse_message(&self, message_type: MessageType) -> bool
[src]
pub fn does_handle(message_type: MessageType) -> bool
[src]
pub fn handle_message(&mut self, message: Message, _tick: u32)
[src]
pub fn handle_string_entry(
&mut self,
table: &str,
_index: usize,
entry: &StringTableEntry
)
[src]
&mut self,
table: &str,
_index: usize,
entry: &StringTableEntry
)
Auto Trait Implementations
impl !RefUnwindSafe for ParserState
impl !Send for ParserState
impl !Sync for ParserState
impl Unpin for ParserState
impl !UnwindSafe for ParserState
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,