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

#include "ObjCacheService.h"

Collaboration diagram for ObjectCachedSessionMethodID:

Public Member Functions

 ObjectCachedSessionMethodID (const char *service, const char *method, int32 sessionValue)
 
 ~ObjectCachedSessionMethodID ()
 

Public Attributes

PyRepobjectID
 

Detailed Description

Definition at line 44 of file ObjCacheService.h.

Constructor & Destructor Documentation

ObjectCachedSessionMethodID::ObjectCachedSessionMethodID ( const char *  service,
const char *  method,
int32  sessionValue 
)

Definition at line 469 of file ObjCacheService.cpp.

References objectID.

470 {
471  SessionMethodCallID c;
472  c.service = service;
473  c.method = method;
474  /*
475  HACK:
476  charID but can also be corpID or other values need to make dynamic
477  and also need to be able to update the "sessionInfo" kvp so that it knows what the field is.
478  */
479  c.sessionValue = sessionValue;
480  objectID = c.Encode();
481 }
ObjectCachedSessionMethodID::~ObjectCachedSessionMethodID ( )

Definition at line 483 of file ObjCacheService.cpp.

References objectID, and PyDecRef.

484 {
485  PyDecRef( objectID );
486 }
#define PyDecRef(op)
Definition: PyRep.h:57

Member Data Documentation


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