Searched refs:pb_overlayable (Results 1 – 2 of 2) sorted by relevance
379 bool DeserializeOverlayableItemFromPb(const pb::OverlayableItem& pb_overlayable, in DeserializeOverlayableItemFromPb() argument382 for (const int policy : pb_overlayable.policy()) { in DeserializeOverlayableItemFromPb()417 if (pb_overlayable.has_source()) { in DeserializeOverlayableItemFromPb()418 DeserializeSourceFromPb(pb_overlayable.source(), src_pool, &out_overlayable->source); in DeserializeOverlayableItemFromPb()421 out_overlayable->comment = pb_overlayable.comment(); in DeserializeOverlayableItemFromPb()573 for (const pb::Overlayable& pb_overlayable : pb_table.overlayable()) { in DeserializeTableFromPb() local574 auto group = std::make_shared<Overlayable>(pb_overlayable.name(), pb_overlayable.actor()); in DeserializeTableFromPb()575 if (pb_overlayable.has_source()) { in DeserializeTableFromPb()576 DeserializeSourceFromPb(pb_overlayable.source(), source_pool, &group->source); in DeserializeTableFromPb()
299 pb::Overlayable* pb_overlayable = pb_table->add_overlayable(); in SerializeOverlayableItemToPb() local300 pb_overlayable->set_name(overlayable_item.overlayable->name); in SerializeOverlayableItemToPb()301 pb_overlayable->set_actor(overlayable_item.overlayable->actor); in SerializeOverlayableItemToPb()304 pb_overlayable->mutable_source()); in SerializeOverlayableItemToPb()