public DysonSphereColorChangePacket(int starIndex, int layerId, Color32 color, ComponentType component, int index) { StarIndex = starIndex; LayerId = layerId; Color = Float4.ToFloat4(color); Type = component; Index = index; }
public DysonSpherePaintCellsPacket(int starIndex, int layerId, Color32 paint, float strength, bool superBrightMode, int[] cursorCells, int cellCount) { StarIndex = starIndex; LayerId = layerId; Paint = Float4.ToFloat4(paint); Strength = strength; SuperBrightMode = superBrightMode; CursorCells = cursorCells; CellCount = cellCount; }