OregonCore  revision 3611e8a-git
Your Favourite TBC server
ProtectedOpcodeProperties Struct Reference

Protected Opcode. More...

#include <World.h>

Public Attributes

uint32 threshold
 Sets the maximum count one protected packet per Interval can be processed per session. More...
 
uint32 interval
 Interval for threshold, in milliseconds.'. More...
 
OpcodePenalty penalty
 What should happen if the threshold per interval is passed. More...
 

Detailed Description

Protected Opcode.

See also
Opcodes.h

Definition at line 447 of file World.h.

Member Data Documentation

uint32 ProtectedOpcodeProperties::interval

Interval for threshold, in milliseconds.'.

Definition at line 450 of file World.h.

Referenced by World::LoadOpcodeProtection(), and WorldSession::Update().

OpcodePenalty ProtectedOpcodeProperties::penalty

What should happen if the threshold per interval is passed.

Definition at line 451 of file World.h.

Referenced by World::LoadOpcodeProtection(), and WorldSession::Update().

uint32 ProtectedOpcodeProperties::threshold

Sets the maximum count one protected packet per Interval can be processed per session.

Definition at line 449 of file World.h.

Referenced by World::LoadOpcodeProtection(), and WorldSession::Update().


The documentation for this struct was generated from the following file: