mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-27 16:07:22 +00:00
0545adfac3
Have fun!
21 lines
577 B
C++
21 lines
577 B
C++
#include "AgMonumentLaserServer.h"
|
|
|
|
void AgMonumentLaserServer::OnStartup(Entity* self) {
|
|
/*
|
|
self->SetProximityRadius(m_Radius, "MonumentLaser");
|
|
|
|
std::cout << "Monument Laser " << self->GetObjectID() << " is at " << self->GetPosition().GetX()
|
|
<< ","<< self->GetPosition().GetY() << "," << self->GetPosition().GetZ() << std::endl;
|
|
*/
|
|
}
|
|
|
|
void AgMonumentLaserServer::OnProximityUpdate(Entity* self, Entity* entering, std::string name, std::string status) {
|
|
/*
|
|
if (status == "ENTER") {
|
|
|
|
std::cout << "Monument laser ID: " << self->GetObjectID() << std::endl;
|
|
}
|
|
*/
|
|
}
|
|
|