the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at main 48 lines 692 B view raw
1#include "stdafx.h" 2 3#include "TileEventData.h" 4 5TileEventData::TileEventData(int x, int y, int z, int tile, int paramA, int paramB) 6{ 7 this->x = x; 8 this->y = y; 9 this->z = z; 10 this->paramA = paramA; 11 this->paramB = paramB; 12 this->tile = tile; 13} 14 15int TileEventData::getX() 16{ 17 return x; 18} 19 20int TileEventData::getY() 21{ 22 return y; 23} 24 25int TileEventData::getZ() 26{ 27 return z; 28} 29 30int TileEventData::getParamA() 31{ 32 return paramA; 33} 34 35int TileEventData::getParamB() 36{ 37 return paramB; 38} 39 40int TileEventData::getTile() 41{ 42 return tile; 43} 44 45bool TileEventData::equals(TileEventData &ted) 46{ 47 return x == ted.x && y == ted.y && z == ted.z && paramA == ted.paramA && paramB == ted.paramB && tile == ted.tile; 48}