1
This commit is contained in:
parent
1ad64d83b2
commit
95c606490f
@ -2,6 +2,11 @@
|
|||||||
|
|
||||||
#include <f8/timer.h>
|
#include <f8/timer.h>
|
||||||
|
|
||||||
|
namespace cs
|
||||||
|
{
|
||||||
|
class SMSyncPosition;
|
||||||
|
};
|
||||||
|
|
||||||
struct SyncObject
|
struct SyncObject
|
||||||
{
|
{
|
||||||
int obj_uniid = 0;
|
int obj_uniid = 0;
|
||||||
@ -9,6 +14,8 @@ struct SyncObject
|
|||||||
glm::vec3 pos = glm::vec3(0.0f, 0.0f, 0.0f);
|
glm::vec3 pos = glm::vec3(0.0f, 0.0f, 0.0f);
|
||||||
glm::vec3 dir = glm::vec3(0.0f, 0.0f, 0.0f);
|
glm::vec3 dir = glm::vec3(0.0f, 0.0f, 0.0f);
|
||||||
long long last_sync_frameno = 0;
|
long long last_sync_frameno = 0;
|
||||||
|
|
||||||
|
void FillSMSyncPosition(cs::SMSyncPosition& sync_msg);
|
||||||
};
|
};
|
||||||
|
|
||||||
class Creature;
|
class Creature;
|
||||||
|
@ -43,6 +43,7 @@
|
|||||||
#include "stats.h"
|
#include "stats.h"
|
||||||
#include "sandtable.h"
|
#include "sandtable.h"
|
||||||
#include "frameeventdata.h"
|
#include "frameeventdata.h"
|
||||||
|
#include "batchsync.h"
|
||||||
|
|
||||||
#include "mt/Param.h"
|
#include "mt/Param.h"
|
||||||
#include "mt/Buff.h"
|
#include "mt/Buff.h"
|
||||||
@ -2142,3 +2143,8 @@ void Room::NotifyNewsTicker(int msg_type, std::vector<std::string> msg_content)
|
|||||||
hum->SendNotifyMsg(notify_msg);
|
hum->SendNotifyMsg(notify_msg);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void SyncObject::FillSMSyncPosition(cs::SMSyncPosition& sync_msg)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user