Added serverGame library

This commit is contained in:
Anonymous
2014-01-15 03:59:18 -07:00
parent 89291fb38c
commit 0196cf51d0
1032 changed files with 256379 additions and 0 deletions
@@ -0,0 +1,54 @@
//========================================================================
//
// VehicleObject.cpp
//
// copyright 2001 Sony Online Entertainment
//
//========================================================================
#include "serverGame/FirstServerGame.h"
#include "serverGame/VehicleObject.h"
#include "serverGame/GameServer.h"
#include "sharedNetworkMessages/ObjectChannelMessages.h"
#include "serverGame/ServerVehicleObjectTemplate.h"
#include "serverGame/VehicleController.h"
//-----------------------------------------------------------------------
VehicleObject::VehicleObject(const ServerVehicleObjectTemplate* newTemplate) :
TangibleObject(newTemplate)
{
addMembersToPackages();
}
//-----------------------------------------------------------------------
VehicleObject::~VehicleObject()
{
}
//-----------------------------------------------------------------------
/**
* Creates a default controller for this object.
*
* @return the object's controller
*/
Controller* VehicleObject::createDefaultController(void)
{
Controller* controller = new VehicleController(this);
NOT_NULL(controller);
setController(controller);
return controller;
} // VehicleObject::createDefaultController
//-----------------------------------------------------------------------
void VehicleObject::getAttributes(stdvector<std::pair<std::string, Unicode::String> >::fwd &data) const
{
TangibleObject::getAttributes(data);
}
// ----------------------------------------------------------------------