EvEmu  0.8.4
11 September 2021
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
LSCChannelMod Class Reference

#include "LSCChannel.h"

Collaboration diagram for LSCChannelMod:

Public Member Functions

 LSCChannelMod (LSCChannel *chan, uint32 accessor, int64 untilWhen, uint32 originalMode, std::string admin, std::string reason, LSC::Mode mode)
 
 ~LSCChannelMod ()
 
PyRepEncode ()
 

Protected Attributes

LSCChannelm_parent
 
uint32 m_accessor
 
LSC::Mode m_mode
 
int64 m_untilWhen
 
uint32 m_originalMode
 
std::string m_admin
 
std::string m_reason
 

Detailed Description

Definition at line 65 of file LSCChannel.h.

Constructor & Destructor Documentation

LSCChannelMod::LSCChannelMod ( LSCChannel chan,
uint32  accessor,
int64  untilWhen,
uint32  originalMode,
std::string  admin,
std::string  reason,
LSC::Mode  mode 
)
inline

Definition at line 67 of file LSCChannel.h.

67  :
68  m_parent(chan),
69  m_accessor(accessor),
70  m_mode(mode),
71  m_untilWhen(untilWhen),
72  m_originalMode(originalMode),
73  m_admin(admin),
74  m_reason(reason) { }
uint32 m_originalMode
Definition: LSCChannel.h:84
int64 m_untilWhen
Definition: LSCChannel.h:83
LSCChannel * m_parent
Definition: LSCChannel.h:80
uint32 m_accessor
Definition: LSCChannel.h:81
std::string m_admin
Definition: LSCChannel.h:85
LSC::Mode m_mode
Definition: LSCChannel.h:82
std::string m_reason
Definition: LSCChannel.h:86
LSCChannelMod::~LSCChannelMod ( )
inline

Definition at line 76 of file LSCChannel.h.

76 { }

Member Function Documentation

PyRep * LSCChannelMod::Encode ( )

Definition at line 59 of file LSCChannel.cpp.

References m_accessor, m_admin, m_mode, m_originalMode, m_reason, and m_untilWhen.

59  {
60  ChannelJoinChannelModsLine line;
61 
62  line.accessor = m_accessor;
63  line.admin = m_admin;
64  line.mode = m_mode;
65  line.originalMode = m_originalMode;
66  line.reason = m_reason;
67  line.untilWhen = m_untilWhen;
68 
69  return line.Encode();
70 }
uint32 m_originalMode
Definition: LSCChannel.h:84
int64 m_untilWhen
Definition: LSCChannel.h:83
uint32 m_accessor
Definition: LSCChannel.h:81
std::string m_admin
Definition: LSCChannel.h:85
LSC::Mode m_mode
Definition: LSCChannel.h:82
std::string m_reason
Definition: LSCChannel.h:86

Member Data Documentation

uint32 LSCChannelMod::m_accessor
protected

Definition at line 81 of file LSCChannel.h.

Referenced by Encode().

std::string LSCChannelMod::m_admin
protected

Definition at line 85 of file LSCChannel.h.

Referenced by Encode().

LSC::Mode LSCChannelMod::m_mode
protected

Definition at line 82 of file LSCChannel.h.

Referenced by Encode().

uint32 LSCChannelMod::m_originalMode
protected

Definition at line 84 of file LSCChannel.h.

Referenced by Encode().

LSCChannel* LSCChannelMod::m_parent
protected

Definition at line 80 of file LSCChannel.h.

std::string LSCChannelMod::m_reason
protected

Definition at line 86 of file LSCChannel.h.

Referenced by Encode().

int64 LSCChannelMod::m_untilWhen
protected

Definition at line 83 of file LSCChannel.h.

Referenced by Encode().


The documentation for this class was generated from the following files: