buildPackets method

List<NetworkerPacket<ServerWorldEvent>> buildPackets(
  1. WorldState state,
  2. Iterable<Channel> connected
)

Implementation

List<NetworkerPacket<ServerWorldEvent>> buildPackets(
    WorldState state, Iterable<Channel> connected) {
  return [main, ...buildUpdatePackets(state, connected)];
}