TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
TStruct10 Class Reference

#include <CascMndx.h>

Public Member Functions

 TStruct10 ()
 
void CopyFrom (TStruct10 &Target)
 
int sub_1956FD0 (DWORD dwBitMask)
 
int sub_1957050 (DWORD dwBitMask)
 
int sub_19572E0 (DWORD dwBitMask)
 
int sub_1957800 (DWORD dwBitMask)
 

Public Attributes

DWORD field_0
 
DWORD field_4
 
DWORD field_8
 
DWORD field_C
 

Constructor & Destructor Documentation

TStruct10::TStruct10 ( )
1325 {
1326  field_0 = 0x03;
1327  field_4 = 0x200;
1328  field_8 = 0x1000;
1329  field_C = 0x20000;
1330 }
DWORD field_0
Definition: CascMndx.h:266
DWORD field_8
Definition: CascMndx.h:268
DWORD field_4
Definition: CascMndx.h:267
DWORD field_C
Definition: CascMndx.h:269

Member Function Documentation

void TStruct10::CopyFrom ( TStruct10 Target)
1334 {
1335  field_0 = Target.field_0;
1336  field_4 = Target.field_4;
1337  field_8 = Target.field_8;
1338  field_C = Target.field_C;
1339 }
DWORD field_0
Definition: CascMndx.h:266
DWORD field_8
Definition: CascMndx.h:268
DWORD field_4
Definition: CascMndx.h:267
DWORD field_C
Definition: CascMndx.h:269

+ Here is the caller graph for this function:

int TStruct10::sub_1956FD0 ( DWORD  dwBitMask)
1343 {
1344  switch(dwBitMask & 0xF80)
1345  {
1346  case 0x00:
1347  field_4 = 0x200;
1348  return ERROR_SUCCESS;
1349 
1350  case 0x80:
1351  field_4 = 0x80;
1352  return ERROR_SUCCESS;
1353 
1354  case 0x100:
1355  field_4 = 0x100;
1356  return ERROR_SUCCESS;
1357 
1358  case 0x200:
1359  field_4 = 0x200;
1360  return ERROR_SUCCESS;
1361 
1362  case 0x400:
1363  field_4 = 0x400;
1364  return ERROR_SUCCESS;
1365 
1366  case 0x800:
1367  field_4 = 0x800;
1368  return ERROR_SUCCESS;
1369  }
1370 
1371  return ERROR_INVALID_PARAMETER;
1372 }
#define ERROR_INVALID_PARAMETER
Definition: CascPort.h:210
DWORD field_4
Definition: CascMndx.h:267
#define ERROR_SUCCESS
Definition: CascPort.h:204

+ Here is the caller graph for this function:

int TStruct10::sub_1957050 ( DWORD  dwBitMask)
1376 {
1377  switch(dwBitMask & 0xF0000)
1378  {
1379  case 0x00:
1380  field_C = 0x20000;
1381  return ERROR_SUCCESS;
1382 
1383  case 0x10000:
1384  field_C = 0x10000;
1385  return ERROR_SUCCESS;
1386 
1387  case 0x20000:
1388  field_C = 0x20000;
1389  return ERROR_SUCCESS;
1390  }
1391 
1392  return ERROR_INVALID_PARAMETER;
1393 }
#define ERROR_INVALID_PARAMETER
Definition: CascPort.h:210
DWORD field_C
Definition: CascMndx.h:269
#define ERROR_SUCCESS
Definition: CascPort.h:204

+ Here is the caller graph for this function:

int TStruct10::sub_19572E0 ( DWORD  dwBitMask)
1397 {
1398  DWORD dwSubMask;
1399  int nError;
1400 
1401  if(dwBitMask & 0xFFF00000)
1402  return ERROR_INVALID_PARAMETER;
1403 
1404  dwSubMask = dwBitMask & 0x7F;
1405  if(dwSubMask)
1406  field_0 = dwSubMask;
1407 
1408  nError = sub_1956FD0(dwBitMask);
1409  if(nError != ERROR_SUCCESS)
1410  return nError;
1411 
1412  dwSubMask = dwBitMask & 0xF000;
1413  if(dwSubMask == 0 || dwSubMask == 0x1000)
1414  {
1415  field_8 = 0x1000;
1416  return sub_1957050(dwBitMask);
1417  }
1418 
1419  if(dwSubMask == 0x2000)
1420  {
1421  field_8 = 0x2000;
1422  return sub_1957050(dwBitMask);
1423  }
1424 
1425  return ERROR_INVALID_PARAMETER;
1426 }
int sub_1956FD0(DWORD dwBitMask)
Definition: CascRootFile_Mndx.cpp:1342
DWORD field_0
Definition: CascMndx.h:266
DWORD field_8
Definition: CascMndx.h:268
int sub_1957050(DWORD dwBitMask)
Definition: CascRootFile_Mndx.cpp:1375
unsigned int DWORD
Definition: CascPort.h:139
#define ERROR_INVALID_PARAMETER
Definition: CascPort.h:210
#define ERROR_SUCCESS
Definition: CascPort.h:204

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int TStruct10::sub_1957800 ( DWORD  dwBitMask)
1430 {
1431  TStruct10 TempStruct;
1432  int nError;
1433 
1434  nError = TempStruct.sub_19572E0(dwBitMask);
1435  if(nError != ERROR_SUCCESS)
1436  return nError;
1437 
1438  CopyFrom(TempStruct);
1439  return ERROR_SUCCESS;
1440 }
void CopyFrom(TStruct10 &Target)
Definition: CascRootFile_Mndx.cpp:1333
Definition: CascMndx.h:254
int sub_19572E0(DWORD dwBitMask)
Definition: CascRootFile_Mndx.cpp:1396
#define ERROR_SUCCESS
Definition: CascPort.h:204

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

DWORD TStruct10::field_0
DWORD TStruct10::field_4
DWORD TStruct10::field_8
DWORD TStruct10::field_C

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