Initial MSVC 2008 projects workspace
This commit is contained in:
28
l2detect/WorldObjectTreeNode.cpp
Normal file
28
l2detect/WorldObjectTreeNode.cpp
Normal file
@@ -0,0 +1,28 @@
|
||||
#include "stdafx.h"
|
||||
#include "WorldObjectTreeNode.h"
|
||||
|
||||
WorldObjectTreeNode::WorldObjectTreeNode()
|
||||
{
|
||||
parent = left = right = NULL;
|
||||
key = 0;
|
||||
objectType = L2OT_NONE;
|
||||
arrayIdx = -1;
|
||||
}
|
||||
|
||||
WorldObjectTreeNode::WorldObjectTreeNode( unsigned int keyInit, L2OBJECT_TYPE type, int indexInArray )
|
||||
{
|
||||
parent = left = right = NULL;
|
||||
key = keyInit;
|
||||
objectType = type;
|
||||
arrayIdx = indexInArray;
|
||||
}
|
||||
|
||||
void WorldObjectTreeNode::setObjectType( L2OBJECT_TYPE type )
|
||||
{
|
||||
objectType = type;
|
||||
}
|
||||
|
||||
void WorldObjectTreeNode::setArrayIdx( int ai )
|
||||
{
|
||||
arrayIdx = ai;
|
||||
}
|
Reference in New Issue
Block a user