Diarkis Field の Sync を使うことで視界に入るクライアントと同期をとることが可能です。
// This event is raised when a remote client in the field of view uses SyncREG_EVENT(field->GetSyncEvent(), [this](void*,constvector<vector<uint8_t>>& list){this->OnSync(e);});// Player character coordinate dataint64_t x =localCharacter->x;int64_t y =localCharacter->y;int64_t z =localCharacter->z;// Maximum number of remote clients to synchronize withuint16_t syncLimit =50;// If there is a custom filter defined on the server,// setting this to the matching custom filter ID will have the server execute custom filter operation// Setting this to 0 will disable custom filteruint8_t customFilterId =1;// Setting this flag to true will make the message as an RUDP message if you are using UDP clientbool reliable =false;field->Sync(x, y, z, syncLimit, customFilterId, bytesMessage, reliable);