У нас вы можете посмотреть бесплатно TMap or TSet do not replicate - "Replicated maps are not supported." - workaround - UE C++ Tutorial или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
TMaps and TSets cannot be replicated uproperties in unreal. However, they have some convenient methods to convert to an array, which we can use for replication. That being said, this needs to be used carefully. As frequently converting your set or map data structures to an array could be a performance issue. An alternative, is if the logic needed to build the map can be done on the client, then the client can build its own map independent of the server. But in some scenarios, where the server is making executive decisions about the contents of the data structure, this can be used to give a bespoke update to the clients. 0:00 Maps cannot be replicated 0:28 Sets cannot be replicated 0:35 Replicating Set/Map workaround 1:17 Server converting map/set into form to replicate to client 1:49 Key/Value workaround struct 2:02 Hitting Set-Array OnRep on client 2:20 Hitting Map-Array OnRep on client 3:00 Outro